diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-04-26 12:59:06 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-04-26 12:59:06 +0200 |
commit | 4f763cba4901ed20e46e8ff15106c23574374777 (patch) | |
tree | 39ee395ea94f085fc1a782b9188b1247947c53df /src/vehicles | |
parent | Merge pull request #492 from erorcun/erorcun (diff) | |
download | re3-4f763cba4901ed20e46e8ff15106c23574374777.tar re3-4f763cba4901ed20e46e8ff15106c23574374777.tar.gz re3-4f763cba4901ed20e46e8ff15106c23574374777.tar.bz2 re3-4f763cba4901ed20e46e8ff15106c23574374777.tar.lz re3-4f763cba4901ed20e46e8ff15106c23574374777.tar.xz re3-4f763cba4901ed20e46e8ff15106c23574374777.tar.zst re3-4f763cba4901ed20e46e8ff15106c23574374777.zip |
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 b93ab35e..14eb2f05 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].setColor(255, 255, 255, 255); + RwIm3DVertexSetRGBA(&KeepWaterOutVertices[0], 255, 255, 255, 255); KeepWaterOutIndices[0] = 0; - KeepWaterOutVertices[1].setColor(255, 255, 255, 255); + RwIm3DVertexSetRGBA(&KeepWaterOutVertices[1], 255, 255, 255, 255); KeepWaterOutIndices[1] = 2; - KeepWaterOutVertices[2].setColor(255, 255, 255, 255); + RwIm3DVertexSetRGBA(&KeepWaterOutVertices[2], 255, 255, 255, 255); KeepWaterOutIndices[2] = 1; - KeepWaterOutVertices[3].setColor(255, 255, 255, 255); + RwIm3DVertexSetRGBA(&KeepWaterOutVertices[3], 255, 255, 255, 255); KeepWaterOutIndices[3] = 1; KeepWaterOutIndices[4] = 2; KeepWaterOutIndices[5] = 3; |