Since the kicked message is shown after player is technically removed from the game we do not know hosts name anymore. Message changed accordingly

This commit is contained in:
zicodxx 2012-03-28 12:09:19 +02:00
parent d583415cfb
commit 4ddf79e16f
2 changed files with 2 additions and 1 deletions

View file

@ -7,6 +7,7 @@ arch/sdl/jukebox.c, main/songs.c: Allow .flac to be a filename extension for sng
main/state.c: properly disable cheats when loading a saved game so only cheats that were stored are re-enabled
main/collide.c, main/physics.c: Fixed double wall-object-damage introduced 20111124 by applying more strict rules to wall-colliding and wall-scraping where latter now is player-exclusive
main/net_udp.c: in netgame info screen some setting-descriptions were interchanged and displayed wrong toggles
main/net_udp.c: Since the kicked message is shown after player is technically removed from the game we do not know hosts name anymore. Message changed accordingly
20120324
--------

View file

@ -2445,7 +2445,7 @@ void net_udp_process_dump(ubyte *data, int len, struct _sockaddr sender_addr)
if (data[1] == DUMP_PKTTIMEOUT)
nm_messagebox(NULL, 1, TXT_OK, "You were removed from the game.\nYou failed receiving important\npackets. Sorry.");
if (data[1] == DUMP_KICKED)
nm_messagebox(NULL, 1, TXT_OK, "%s has kicked you out!",Players[0].callsign);
nm_messagebox(NULL, 1, TXT_OK, "You were kicked by Host!");
if (Game_wind)
window_set_visible(Game_wind, 1);
multi_quit_game = 1;