diff options
author | aap <aap@papnet.eu> | 2020-04-26 12:49:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-26 12:49:31 +0200 |
commit | 7052b0b64c2fbab2d4ef94e50e902eea4904dbe0 (patch) | |
tree | 7a01b47b48a106ca6ff9154cc5c14d3baf54c22f /src/vehicles/Boat.cpp | |
parent | update librw (diff) | |
parent | Initial GLFW support (diff) | |
download | re3-7052b0b64c2fbab2d4ef94e50e902eea4904dbe0.tar re3-7052b0b64c2fbab2d4ef94e50e902eea4904dbe0.tar.gz re3-7052b0b64c2fbab2d4ef94e50e902eea4904dbe0.tar.bz2 re3-7052b0b64c2fbab2d4ef94e50e902eea4904dbe0.tar.lz re3-7052b0b64c2fbab2d4ef94e50e902eea4904dbe0.tar.xz re3-7052b0b64c2fbab2d4ef94e50e902eea4904dbe0.tar.zst re3-7052b0b64c2fbab2d4ef94e50e902eea4904dbe0.zip |
Diffstat (limited to '')
-rw-r--r-- | src/vehicles/Boat.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vehicles/Boat.cpp b/src/vehicles/Boat.cpp index d31182cd..b93ab35e 100644 --- a/src/vehicles/Boat.cpp +++ b/src/vehicles/Boat.cpp @@ -707,13 +707,13 @@ CBoat::Render() ((CVehicleModelInfo*)CModelInfo::GetModelInfo(GetModelIndex()))->SetVehicleColour(m_currentColour1, m_currentColour2); if (!CVehicle::bWheelsOnlyCheat) CEntity::Render(); - KeepWaterOutVertices[0].color = -1; + KeepWaterOutVertices[0].setColor(255, 255, 255, 255); KeepWaterOutIndices[0] = 0; - KeepWaterOutVertices[1].color = -1; + KeepWaterOutVertices[1].setColor(255, 255, 255, 255); KeepWaterOutIndices[1] = 2; - KeepWaterOutVertices[2].color = -1; + KeepWaterOutVertices[2].setColor(255, 255, 255, 255); KeepWaterOutIndices[2] = 1; - KeepWaterOutVertices[3].color = -1; + KeepWaterOutVertices[3].setColor(255, 255, 255, 255); KeepWaterOutIndices[3] = 1; KeepWaterOutIndices[4] = 2; KeepWaterOutIndices[5] = 3; |