summaryrefslogtreecommitdiffstats
path: root/src/render/WaterLevel.cpp
diff options
context:
space:
mode:
authorRoman Masanin <36927roma@gmail.com>2020-11-01 20:35:46 +0100
committerRoman Masanin <36927roma@gmail.com>2020-11-01 20:35:46 +0100
commit55c43466100e4e79af95500f64513c49d7242877 (patch)
tree2376e54398c53697c07bd6809b9648d561516881 /src/render/WaterLevel.cpp
parentFix build and use enum in ProcessPlayerMood (diff)
parentfixed KYFC (diff)
downloadre3-55c43466100e4e79af95500f64513c49d7242877.tar
re3-55c43466100e4e79af95500f64513c49d7242877.tar.gz
re3-55c43466100e4e79af95500f64513c49d7242877.tar.bz2
re3-55c43466100e4e79af95500f64513c49d7242877.tar.lz
re3-55c43466100e4e79af95500f64513c49d7242877.tar.xz
re3-55c43466100e4e79af95500f64513c49d7242877.tar.zst
re3-55c43466100e4e79af95500f64513c49d7242877.zip
Diffstat (limited to '')
-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;