From 78c089c0eae503822c7f1025aefcf02529b13723 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Thu, 14 Aug 2008 18:42:47 +0000 Subject: last of the game server clean up. now it's done --- src/game/server/entities/character.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/game/server/entities/character.cpp') diff --git a/src/game/server/entities/character.cpp b/src/game/server/entities/character.cpp index 160e080a..ee6dcb17 100644 --- a/src/game/server/entities/character.cpp +++ b/src/game/server/entities/character.cpp @@ -1,7 +1,7 @@ #include #include #include -#include +#include #include "character.hpp" #include "laser.hpp" @@ -892,7 +892,7 @@ void PLAYER::on_disconnect() char buf[512]; str_format(buf, sizeof(buf), "%s has left the game", server_clientname(client_id)); - game.send_chat(-1, CHAT_ALL, buf); + game.send_chat(-1, GAMECONTEXT::CHAT_ALL, buf); dbg_msg("game", "leave player='%d:%s'", client_id, server_clientname(client_id)); @@ -952,7 +952,7 @@ void PLAYER::set_team(int new_team) char buf[512]; str_format(buf, sizeof(buf), "%s joined the %s", server_clientname(client_id), game.controller->get_team_name(new_team)); - game.send_chat(-1, CHAT_ALL, buf); + game.send_chat(-1, GAMECONTEXT::CHAT_ALL, buf); kill_character(); team = new_team; -- cgit 1.4.1