Core: Fix warnings
--HG-- branch : trunk
This commit is contained in:
1 parent
7abcf9812e
commit
addd762c4d
19 files changed
+51
-51
No files matched your search
@@ -225,7 +225,7 @@ class SmartScript
|
||||
{
|
||||
for (SmartAIEventList::iterator i = mStoredEvents.begin(); i != mStoredEvents.end(); ++i)
|
||||
{
|
||||
if (i->event_id = id)
|
||||
if (i->event_id == id)
|
||||
{
|
||||
mStoredEvents.erase(i);
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user