*Add an assert in removeunitfromnotify

--HG--
branch : trunk
This commit is contained in:
megamage
2009-08-09 15:22:43 -05:00
parent e657f65f2b
commit 677b7b9757
+2
View File
@@ -657,6 +657,8 @@ void Map::RemoveUnitFromNotify(Unit *unit, int32 slot)
i_unitsToNotifyBacklog[slot] = NULL;
else if(slot < i_unitsToNotify.size() && i_unitsToNotify[slot] == unit)
i_unitsToNotify[slot] = NULL;
else
assert(false);
}
else
{