diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-16 13:42:04 +0300 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-16 13:42:04 +0300 |
commit | 32ab01cd32adbe7a2ab6fb1cad8501547ff123ee (patch) | |
tree | 6ff156885237ff19285c8d13cc046975bf2e4386 | |
parent | 7ea77d8da41c05ea30716c1663f2b1f852574f1f (diff) |
consistency fix
-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; } |