summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2020-10-12 11:37:47 +0200
committerGitHub <noreply@github.com>2020-10-12 11:37:47 +0200
commit96f36d16aebe87f664b2c9487ba7f9f3edd27d39 (patch)
treedd64811c90f08b1beb8d78d37d758aea50db2079 /src/core
parentFix forgotten wanted/busted text (diff)
parentCWaterCreatures (diff)
downloadre3-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/core')
-rw-r--r--src/core/Game.cpp6
-rw-r--r--src/core/config.h1
2 files changed, 4 insertions, 3 deletions
diff --git a/src/core/Game.cpp b/src/core/Game.cpp
index 6ba6b191..a8637980 100644
--- a/src/core/Game.cpp
+++ b/src/core/Game.cpp
@@ -90,6 +90,7 @@
#include "debugmenu.h"
#include "Ropes.h"
#include "WindModifiers.h"
+#include "WaterCreatures.h"
#include "postfx.h"
#include "custompipes.h"
@@ -478,8 +479,7 @@ bool CGame::ShutDown(void)
CPlane::Shutdown();
CTrain::Shutdown();
CScriptPaths::Shutdown();
- // TODO(Miami)
- // CWaterCreatures::RemoveAll();
+ CWaterCreatures::RemoveAll();
CSpecialFX::Shutdown();
#ifndef PS2
CGarages::Shutdown();
@@ -650,7 +650,7 @@ void CGame::ShutDownForRestart(void)
CRadar::RemoveRadarSections();
FrontEndMenuManager.UnloadTextures();
CParticleObject::RemoveAllExpireableParticleObjects();
- //CWaterCreatures::RemoveAll(); //TODO(Miami)
+ CWaterCreatures::RemoveAll();
CSetPieces::Init();
CPedType::Shutdown();
CSpecialFX::Shutdown();
diff --git a/src/core/config.h b/src/core/config.h
index 57545f4c..3f077f4c 100644
--- a/src/core/config.h
+++ b/src/core/config.h
@@ -138,6 +138,7 @@ enum Config {
NUM_CRANES = 8,
NUM_ESCALATORS = 22,
+ NUM_WATER_CREATURES = 8,
NUM_EXPLOSIONS = 48,