summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Boat.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-04-26 12:49:31 +0200
committerGitHub <noreply@github.com>2020-04-26 12:49:31 +0200
commit7052b0b64c2fbab2d4ef94e50e902eea4904dbe0 (patch)
tree7a01b47b48a106ca6ff9154cc5c14d3baf54c22f /src/vehicles/Boat.cpp
parentupdate librw (diff)
parentInitial GLFW support (diff)
downloadre3-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.cpp8
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;