Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-02-17 18:59:52 +0000
committerStijn Buys <ingar@osirion.org>2008-02-17 18:59:52 +0000
commit982562fa19bb87a3dab352e562f386f61c171b7b (patch)
treeaeade8d5b7d3c68f5c222af1d8ecc6a734e1b43f /src/core/gameinterface.cc
parentd198b7b8d9ff713d891f35ab173d1f428f610e7d (diff)
major rewrite of Cvar, Func and Entity
Diffstat (limited to 'src/core/gameinterface.cc')
-rw-r--r--src/core/gameinterface.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/gameinterface.cc b/src/core/gameinterface.cc
index d07f804..38ea6fe 100644
--- a/src/core/gameinterface.cc
+++ b/src/core/gameinterface.cc
@@ -64,10 +64,10 @@ void message_broadcast(std::string const & message, int ignoreplayer)
}
}
-void message_send(Player const &player, const char *protohdr, std::string message)
+void message_send(Player const *player, const char *protohdr, std::string message)
{
// send to console
- if (&player == &localplayer) {
+ if (player == &Player::local) {
con_print << message << std::endl;
}