diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2019-07-20 15:19:33 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2019-07-20 15:19:33 +0200 |
commit | be8e29e4e2dede741516be156dc370376acb13a9 (patch) | |
tree | 8e68c4e5c40b69511dd2c151aa35c917c3062dea /src/render/WaterLevel.cpp | |
parent | fixed replay (diff) | |
parent | one more fix (diff) | |
download | re3-be8e29e4e2dede741516be156dc370376acb13a9.tar re3-be8e29e4e2dede741516be156dc370376acb13a9.tar.gz re3-be8e29e4e2dede741516be156dc370376acb13a9.tar.bz2 re3-be8e29e4e2dede741516be156dc370376acb13a9.tar.lz re3-be8e29e4e2dede741516be156dc370376acb13a9.tar.xz re3-be8e29e4e2dede741516be156dc370376acb13a9.tar.zst re3-be8e29e4e2dede741516be156dc370376acb13a9.zip |
Diffstat (limited to 'src/render/WaterLevel.cpp')
-rw-r--r-- | src/render/WaterLevel.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/render/WaterLevel.cpp b/src/render/WaterLevel.cpp index 2f994132..30be88e1 100644 --- a/src/render/WaterLevel.cpp +++ b/src/render/WaterLevel.cpp @@ -173,9 +173,8 @@ CWaterLevel::CreateWavyAtomic() { wavyMorphTarget = RpGeometryGetMorphTarget(wavyGeometry, 0); - wavyVert = RpMorphTargetGetVertices(wavyMorphTarget); - ASSERT(wavyMorphTarget != NULL); + wavyVert = RpMorphTargetGetVertices(wavyMorphTarget); ASSERT(wavyVert != NULL); for ( int32 i = 0; i < 9; i++ ) @@ -1149,10 +1148,10 @@ CWaterLevel::AllocateBoatWakeArray() ASSERT(ms_pWavyAtomic != NULL ); RpGeometry *wavyGeometry = RpAtomicGetGeometry(ms_pWavyAtomic); + ASSERT(wavyGeometry != NULL ); RpMorphTarget *wavyMorphTarget = RpGeometryGetMorphTarget(wavyGeometry, 0); RpMaterial *wavyMaterial = RpGeometryGetMaterial(wavyGeometry, 0); - ASSERT(wavyGeometry != NULL ); ASSERT(wavyMorphTarget != NULL ); ASSERT(wavyMaterial != NULL ); |