aboutsummaryrefslogtreecommitdiff
path: root/src/serverobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/serverobject.cpp')
-rw-r--r--src/serverobject.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/serverobject.cpp b/src/serverobject.cpp
index b6015a477..87017c390 100644
--- a/src/serverobject.cpp
+++ b/src/serverobject.cpp
@@ -172,7 +172,7 @@ void ItemSAO::step(float dtime, Queue<ActiveObjectMessage> &messages,
assert(m_env);
const float interval = 0.2;
- if(m_move_interval.step(dtime, interval))
+ if(m_move_interval.step(dtime, interval)==false)
return;
dtime = interval;
@@ -312,7 +312,7 @@ void RatSAO::step(float dtime, Queue<ActiveObjectMessage> &messages,
if(m_is_active == false)
{
- if(m_inactive_interval.step(dtime, 0.5))
+ if(m_inactive_interval.step(dtime, 0.5)==false)
return;
}