Fix compilation error
This commit is contained in:
parent
7052b0b64c
commit
4f763cba49
@ -707,13 +707,13 @@ CBoat::Render()
|
|||||||
((CVehicleModelInfo*)CModelInfo::GetModelInfo(GetModelIndex()))->SetVehicleColour(m_currentColour1, m_currentColour2);
|
((CVehicleModelInfo*)CModelInfo::GetModelInfo(GetModelIndex()))->SetVehicleColour(m_currentColour1, m_currentColour2);
|
||||||
if (!CVehicle::bWheelsOnlyCheat)
|
if (!CVehicle::bWheelsOnlyCheat)
|
||||||
CEntity::Render();
|
CEntity::Render();
|
||||||
KeepWaterOutVertices[0].setColor(255, 255, 255, 255);
|
RwIm3DVertexSetRGBA(&KeepWaterOutVertices[0], 255, 255, 255, 255);
|
||||||
KeepWaterOutIndices[0] = 0;
|
KeepWaterOutIndices[0] = 0;
|
||||||
KeepWaterOutVertices[1].setColor(255, 255, 255, 255);
|
RwIm3DVertexSetRGBA(&KeepWaterOutVertices[1], 255, 255, 255, 255);
|
||||||
KeepWaterOutIndices[1] = 2;
|
KeepWaterOutIndices[1] = 2;
|
||||||
KeepWaterOutVertices[2].setColor(255, 255, 255, 255);
|
RwIm3DVertexSetRGBA(&KeepWaterOutVertices[2], 255, 255, 255, 255);
|
||||||
KeepWaterOutIndices[2] = 1;
|
KeepWaterOutIndices[2] = 1;
|
||||||
KeepWaterOutVertices[3].setColor(255, 255, 255, 255);
|
RwIm3DVertexSetRGBA(&KeepWaterOutVertices[3], 255, 255, 255, 255);
|
||||||
KeepWaterOutIndices[3] = 1;
|
KeepWaterOutIndices[3] = 1;
|
||||||
KeepWaterOutIndices[4] = 2;
|
KeepWaterOutIndices[4] = 2;
|
||||||
KeepWaterOutIndices[5] = 3;
|
KeepWaterOutIndices[5] = 3;
|
||||||
|
Loading…
Reference in New Issue
Block a user