Core: Fix warnings

--HG--
branch : trunk
This commit is contained in:
Spp committed 2010-11-16 14:08:12 +01:00
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;