summaryrefslogtreecommitdiffstats
path: root/src/control/Script.cpp
diff options
context:
space:
mode:
authorwithmorten <morten.with@gmail.com>2021-01-14 23:16:42 +0100
committerwithmorten <morten.with@gmail.com>2021-01-14 23:16:42 +0100
commitd5ce8b1ea3359ad5518e724e32a76ba32be1586b (patch)
treeb4e48a02501378e10008853e61379449c69c0a1d /src/control/Script.cpp
parentincoming "fuck" commit (diff)
downloadre3-d5ce8b1ea3359ad5518e724e32a76ba32be1586b.tar
re3-d5ce8b1ea3359ad5518e724e32a76ba32be1586b.tar.gz
re3-d5ce8b1ea3359ad5518e724e32a76ba32be1586b.tar.bz2
re3-d5ce8b1ea3359ad5518e724e32a76ba32be1586b.tar.lz
re3-d5ce8b1ea3359ad5518e724e32a76ba32be1586b.tar.xz
re3-d5ce8b1ea3359ad5518e724e32a76ba32be1586b.tar.zst
re3-d5ce8b1ea3359ad5518e724e32a76ba32be1586b.zip
Diffstat (limited to '')
-rw-r--r--src/control/Script.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp
index 3566e0a6..a61c6b09 100644
--- a/src/control/Script.cpp
+++ b/src/control/Script.cpp
@@ -1872,6 +1872,12 @@ void CMissionCleanup::Process()
m_sEntities[i].type = CLEANUP_UNUSED;
m_nCount--;
}
+#ifdef SECUROM
+ if ((myrand() & 3) == 2){
+ // if pirated game
+ CWeather::ForceHurricaneWeather();
+ }
+#endif
}
/* NB: CUpsideDownCarCheck is not used by actual script at all