Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/game.cc')
-rw-r--r--src/game/game.cc11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/game/game.cc b/src/game/game.cc
index f88c753..f8452f7 100644
--- a/src/game/game.cc
+++ b/src/game/game.cc
@@ -186,10 +186,19 @@ void Game::shutdown()
void Game::frame(float seconds)
{
-
}
+void Game::player_connect(core::Player &player)
+{
+ std::stringstream args;
+ game::func_spectate(player, args);
+}
+void Game::player_disconnect(core::Player &player)
+{
+ std::stringstream args;
+ game::func_spectate(player, args);
+}
} // namespace game