diff options
author | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-09-23 11:35:06 +0000 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-09-23 11:35:06 +0000 |
commit | 203ed8e40105c17d300b12ee461327cb4416acf2 (patch) | |
tree | cdbc670b1724500e696da4dc787f094c8f512283 /src/game-server/spawnarea.cpp | |
parent | 6667a394a60e85f8bc34eb88c83350f4c28e9d34 (diff) | |
download | manaserv-203ed8e40105c17d300b12ee461327cb4416acf2.tar.gz manaserv-203ed8e40105c17d300b12ee461327cb4416acf2.tar.xz manaserv-203ed8e40105c17d300b12ee461327cb4416acf2.zip |
Changed delayed events to an explicit interface.
Diffstat (limited to 'src/game-server/spawnarea.cpp')
-rw-r--r-- | src/game-server/spawnarea.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game-server/spawnarea.cpp b/src/game-server/spawnarea.cpp index fc6e40c..d160f71 100644 --- a/src/game-server/spawnarea.cpp +++ b/src/game-server/spawnarea.cpp @@ -93,8 +93,7 @@ SpawnArea::update() being->setMap(map); being->setPosition(position); being->clearDestination(); - DelayedEvent e = { EVENT_INSERT }; - GameState::enqueueEvent(being, e); + GameState::enqueueInsert(being); mNumBeings++; } |