diff options
author | erorcun <erayorcunus@gmail.com> | 2020-10-12 11:37:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-12 11:37:47 +0200 |
commit | 96f36d16aebe87f664b2c9487ba7f9f3edd27d39 (patch) | |
tree | dd64811c90f08b1beb8d78d37d758aea50db2079 /src/render/WaterLevel.cpp | |
parent | Fix forgotten wanted/busted text (diff) | |
parent | CWaterCreatures (diff) | |
download | re3-96f36d16aebe87f664b2c9487ba7f9f3edd27d39.tar re3-96f36d16aebe87f664b2c9487ba7f9f3edd27d39.tar.gz re3-96f36d16aebe87f664b2c9487ba7f9f3edd27d39.tar.bz2 re3-96f36d16aebe87f664b2c9487ba7f9f3edd27d39.tar.lz re3-96f36d16aebe87f664b2c9487ba7f9f3edd27d39.tar.xz re3-96f36d16aebe87f664b2c9487ba7f9f3edd27d39.tar.zst re3-96f36d16aebe87f664b2c9487ba7f9f3edd27d39.zip |
Diffstat (limited to 'src/render/WaterLevel.cpp')
-rw-r--r-- | src/render/WaterLevel.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/render/WaterLevel.cpp b/src/render/WaterLevel.cpp index efcb6c14..ec9485d2 100644 --- a/src/render/WaterLevel.cpp +++ b/src/render/WaterLevel.cpp @@ -27,6 +27,7 @@ #include "Replay.h" #include "WaterLevel.h" #include "SurfaceTable.h" +#include "WaterCreatures.h" #define RwIm3DVertexSet_RGBA(vert, rgba) RwIm3DVertexSetRGBA(vert, rgba.red, rgba.green, rgba.blue, rgba.alpha) // (RwRGBAAssign(&(_dst)->color, &_src)) @@ -2821,8 +2822,7 @@ CWaterLevel::HandleSeaLifeForms() } else if ( (CTimer::GetTimeInMilliseconds() - timecounter) > 5000 ) { -//TODO(MIAMI) -// if ( CWaterCreatures::IsSpaceForMoreWaterCreatures() ) + if ( CWaterCreatures::IsSpaceForMoreWaterCreatures() ) { for ( int32 i = 0; i < 3; i++ ) { @@ -2838,14 +2838,12 @@ CWaterLevel::HandleSeaLifeForms() vecPos.x += (fCos - fSin) * fAngle; vecPos.y += (fSin + fCos) * fAngle; - //TODO(MIAMI) - //CWaterCreatures::CreateOne(vecPos, 0xFFFFFFFF); + CWaterCreatures::CreateOne(vecPos, -1); } } } - //TODO(MIAMI) - //CWaterCreatures::UpdateAll(); + CWaterCreatures::UpdateAll(); } void |