Handle Multi message input before HandleDeathKey to chat while dead

This commit is contained in:
zicodxx 2008-03-08 22:47:49 +00:00
parent 2196bdae0d
commit ae5975c7a0
2 changed files with 8 additions and 6 deletions

View file

@ -3,6 +3,7 @@ D1X-Rebirth Changelog
20080308
--------
main/aipath.c, main/collide.c, main/fvi.c, main/game.c, main/gauges.c, main/mission.c, main/netdrv.c, main/newdemo.c, main/newdemo.h, main/newmenu.c, main/object.c: Fixed some memory issues; Fixed some HUD element alignment; Only send NetDrv packets if NetDrvInstalled is true; Fixed demo glitches; Actually using Game_mode in demos to make Newdemo_game_mode hacking obsolete
main/game.c: Handle Multi message input before HandleDeathKey to chat while dead
20080228
--------

View file

@ -2598,6 +2598,13 @@ void ReadControls()
}
while ((key=key_inkey_time(&key_time)) != 0) {
#ifdef NETWORK
if ( (Game_mode&GM_MULTI) && (multi_sending_message || multi_defining_message )) {
multi_message_input_sub( key );
continue; //get next key
}
#endif
if (Player_is_dead)
HandleDeathKey(key);
@ -2607,12 +2614,6 @@ void ReadControls()
HandleDemoKey(key);
else
{
#ifdef NETWORK
if ( (Game_mode&GM_MULTI) && (multi_sending_message || multi_defining_message )) {
multi_message_input_sub( key );
continue; //get next key
}
#endif
FinalCheatsKey(key);
HandleGameKey(key);
}