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 | |
parent | ea79cc4469dbe377e2da9e5019c1d709e95140d0 (diff) | |
parent | 6c1a1f7cd20a2674f33b5318e6e07a3a28d016f6 (diff) |
Merge pull request #492 from erorcun/erorcun
Initial GLFW support
Diffstat (limited to 'src/vehicles')
-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; |