diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-16 11:42:04 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-16 11:42:46 +0100 |
commit | 19505b664cc4f16498ae78424b2948c119ebb984 (patch) | |
tree | 6f7c1a6f9e8ad801e32fd087cad2d5aec031c210 /src/control | |
parent | more fix (diff) | |
download | re3-19505b664cc4f16498ae78424b2948c119ebb984.tar re3-19505b664cc4f16498ae78424b2948c119ebb984.tar.gz re3-19505b664cc4f16498ae78424b2948c119ebb984.tar.bz2 re3-19505b664cc4f16498ae78424b2948c119ebb984.tar.lz re3-19505b664cc4f16498ae78424b2948c119ebb984.tar.xz re3-19505b664cc4f16498ae78424b2948c119ebb984.tar.zst re3-19505b664cc4f16498ae78424b2948c119ebb984.zip |
Diffstat (limited to 'src/control')
-rw-r--r-- | src/control/Script6.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/control/Script6.cpp b/src/control/Script6.cpp index bbb6cfcb..3a03ea9b 100644 --- a/src/control/Script6.cpp +++ b/src/control/Script6.cpp @@ -50,8 +50,7 @@ bool CRunningScript::ThisIsAValidRandomCop(uint32 mi, int cop, int swat, int fbi case MI_SWAT: if (swat) return true; break; case MI_FBI: if (fbi) return true; break; case MI_ARMY: if (army) return true; break; - default: - return miami && (mi >= MI_VICE1 && mi <= MI_VICE8); + default: if (mi >= MI_VICE1 && mi <= MI_VICE8 && miami) return true; break; } return false; } |