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:04 +0100 |
commit | 32ab01cd32adbe7a2ab6fb1cad8501547ff123ee (patch) | |
tree | 6ff156885237ff19285c8d13cc046975bf2e4386 /src/control/Script6.cpp | |
parent | more fix (diff) | |
download | re3-32ab01cd32adbe7a2ab6fb1cad8501547ff123ee.tar re3-32ab01cd32adbe7a2ab6fb1cad8501547ff123ee.tar.gz re3-32ab01cd32adbe7a2ab6fb1cad8501547ff123ee.tar.bz2 re3-32ab01cd32adbe7a2ab6fb1cad8501547ff123ee.tar.lz re3-32ab01cd32adbe7a2ab6fb1cad8501547ff123ee.tar.xz re3-32ab01cd32adbe7a2ab6fb1cad8501547ff123ee.tar.zst re3-32ab01cd32adbe7a2ab6fb1cad8501547ff123ee.zip |
Diffstat (limited to 'src/control/Script6.cpp')
-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 c9828758..4d7121f2 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; } |