summaryrefslogtreecommitdiffstats
path: root/src/render/WaterLevel.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-10-31 14:33:49 +0100
committeraap <aap@papnet.eu>2020-10-31 14:33:49 +0100
commitea5b86774d23695f2638b51e2ead9621ddadbf82 (patch)
tree0812de29452b8a9d37fe5ded37a1815403aeabf6 /src/render/WaterLevel.cpp
parentDisable loading screen (diff)
downloadre3-ea5b86774d23695f2638b51e2ead9621ddadbf82.tar
re3-ea5b86774d23695f2638b51e2ead9621ddadbf82.tar.gz
re3-ea5b86774d23695f2638b51e2ead9621ddadbf82.tar.bz2
re3-ea5b86774d23695f2638b51e2ead9621ddadbf82.tar.lz
re3-ea5b86774d23695f2638b51e2ead9621ddadbf82.tar.xz
re3-ea5b86774d23695f2638b51e2ead9621ddadbf82.tar.zst
re3-ea5b86774d23695f2638b51e2ead9621ddadbf82.zip
Diffstat (limited to 'src/render/WaterLevel.cpp')
-rw-r--r--src/render/WaterLevel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/WaterLevel.cpp b/src/render/WaterLevel.cpp
index 530e0e85..88c45c79 100644
--- a/src/render/WaterLevel.cpp
+++ b/src/render/WaterLevel.cpp
@@ -2963,7 +2963,7 @@ CWaterLevel::HandleBeachToysStuff(void)
CEntity *
CWaterLevel::CreateBeachToy(CVector const &vec, eBeachToy beachtoy)
{
- if (CObject::nNoTempObjects >= 40)
+ if (CObject::nNoTempObjects >= NUMTEMPOBJECTS)
return nil;
int finalToy = beachtoy;