aboutsummaryrefslogtreecommitdiff
path: root/src/game/GameEventMgr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/GameEventMgr.cpp')
-rw-r--r--src/game/GameEventMgr.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/game/GameEventMgr.cpp b/src/game/GameEventMgr.cpp
index 19c716007ec..fb1ab876f6e 100644
--- a/src/game/GameEventMgr.cpp
+++ b/src/game/GameEventMgr.cpp
@@ -1301,11 +1301,7 @@ void GameEventMgr::GameEventSpawn(int16 event_id)
}
for (IdList::iterator itr = mGameEventPoolIds[internal_event_id].begin(); itr != mGameEventPoolIds[internal_event_id].end(); ++itr)
- {
- poolhandler.SpawnPool(*itr, 0, 0);
- poolhandler.SpawnPool(*itr, 0, TYPEID_GAMEOBJECT);
- poolhandler.SpawnPool(*itr, 0, TYPEID_UNIT);
- }
+ poolhandler.SpawnPool(*itr);
}
void GameEventMgr::GameEventUnspawn(int16 event_id)