summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorblingu <36486731+blingu@users.noreply.github.com>2020-03-26 17:05:01 +0100
committerGitHub <noreply@github.com>2020-03-26 17:05:01 +0100
commit853b2d0c7890b5a0bb33617b33574086a0fe2b81 (patch)
tree3ba7a347f1862020d802f46a7957d977084aa91c
parentedc92a7bcc6a2ddf1e29815e4696d9be0420bae1 (diff)
Update Fire.cpp
-rw-r--r--src/core/Fire.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/Fire.cpp b/src/core/Fire.cpp
index ef9b08bd..63442787 100644
--- a/src/core/Fire.cpp
+++ b/src/core/Fire.cpp
@@ -410,7 +410,7 @@ CFireManager::StartScriptFire(const CVector &pos, CEntity *target, float strengt
bool
CFireManager::IsScriptFireExtinguish(int16 index)
{
- return m_aFires[index].m_bIsOngoing ? false : true;
+ return !m_aFires[index].m_bIsOngoing;
}
void