summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 4fc833edb..da60f114b 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -178,8 +178,7 @@ static void initEngines()
particleEngine->setupEngine();
BeingInfo::init();
- DepricatedEvent::trigger(CHANNEL_GAME,
- DepricatedEvent(EVENT_ENGINESINITALIZED));
+ Net::getGameHandler()->initEngines();
keyboard.update();
if (joystick)
@@ -1092,9 +1091,7 @@ void Game::changeMap(const std::string &mapPath)
if (mumbleManager)
mumbleManager->setMap(mapPath);
#endif
- DepricatedEvent event(EVENT_MAPLOADED);
- event.setString("mapPath", mapPath);
- DepricatedEvent::trigger(CHANNEL_GAME, event);
+ Net::getGameHandler()->mapLoadedEvent();
}
void Game::updateHistory(const SDL_Event &event)