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-03-21 19:25:11 +0000
committerStijn Buys <ingar@osirion.org>2008-03-21 19:25:11 +0000
commit2314c27dd650dc02c0b5bdd3bef75818393a9ab5 (patch)
tree231815c866a1330338d976480284250e99207554 /src/core/gameserver.h
parent7e99fac4552b402034e5fc3e833cbe8c274f95ce (diff)
switched to UDP networking
Diffstat (limited to 'src/core/gameserver.h')
-rw-r--r--src/core/gameserver.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/gameserver.h b/src/core/gameserver.h
index 17d581c..fd2021e 100644
--- a/src/core/gameserver.h
+++ b/src/core/gameserver.h
@@ -47,7 +47,7 @@ public:
void say(Player *player, std::string const &args);
/// broadcast a message to all players
- void broadcast(std::string const & message, int ignoreplayer = -1);
+ void broadcast(std::string const & message, Player *ignore_player = 0);
/// send a message to a single player
void send(Player *player, std::string message);
@@ -69,7 +69,6 @@ private:
Module *server_module;
static GameServer *server_instance;
NetServer *server_network;
-
};
inline GameServer *server() { return GameServer::instance(); }