From 6d86d949fdfec590e9bed0ff126271ebab81796a Mon Sep 17 00:00:00 2001 From: scosu Date: Wed, 22 Oct 2008 14:31:46 +0000 Subject: Introduces a command change_map to change maps or restart round with showing the scoreboard ticket:536 --- src/game/server/gamecontroller.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/game/server/gamecontroller.hpp') diff --git a/src/game/server/gamecontroller.hpp b/src/game/server/gamecontroller.hpp index e4596883..f3b64a3b 100644 --- a/src/game/server/gamecontroller.hpp +++ b/src/game/server/gamecontroller.hpp @@ -34,6 +34,8 @@ protected: void cyclemap(); void resetgame(); + + char map_wish[128]; const char *gametype; @@ -63,6 +65,7 @@ public: void startround(); void endround(); + void change_map(const char *to_map); bool is_friendly_fire(int cid1, int cid2); -- cgit 1.4.1