committed files that were meant to be committed before...

...but I missed them because I'm stupid. :(
This commit is contained in:
David White 2008-03-22 04:42:25 +00:00
parent 432a9c2d0c
commit 0d984bf38e
2 changed files with 3 additions and 3 deletions

View File

@ -1214,11 +1214,11 @@ void game::send_and_record_server_message(const char* message,
record_data(doc); record_data(doc);
} }
void game::send_server_message_to_all(const char* message) const void game::send_server_message_to_all(const char* message, network::connection exclude) const
{ {
simple_wml::document doc; simple_wml::document doc;
send_server_message(message, 0, &doc); send_server_message(message, 0, &doc);
send_data(doc); send_data(doc, exclude);
} }
void game::send_server_message(const char* message, network::connection sock, simple_wml::document* docptr) const void game::send_server_message(const char* message, network::connection sock, simple_wml::document* docptr) const

View File

@ -87,7 +87,7 @@ public:
//! Returns true iff the number of slots has changed. //! Returns true iff the number of slots has changed.
bool describe_slots(); bool describe_slots();
void send_server_message_to_all(const char* message) const; void send_server_message_to_all(const char* message, network::connection exclude=0) const;
void send_server_message(const char* message, network::connection sock=0, simple_wml::document* doc=NULL) const; void send_server_message(const char* message, network::connection sock=0, simple_wml::document* doc=NULL) const;
//! Send data to all players in this game except 'exclude'. //! Send data to all players in this game except 'exclude'.
void send_and_record_server_message(const char* message, void send_and_record_server_message(const char* message,