Skip to content

Commit

Permalink
Fix a little mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyberium committed Sep 5, 2016
1 parent 4e88724 commit c721eba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/game/AI/CreatureEventAI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1340,9 +1340,9 @@ void CreatureEventAI::UpdateAI(const uint32 diff)
{
if (i->Time > m_EventDiff)
i->Time -= m_EventDiff;
else
i->Time = 0;
}
else
i->Time = 0;
}

// Skip processing of events that have time remaining or are disabled
Expand Down

0 comments on commit c721eba

Please sign in to comment.