Author Topic: Multiplayer Pausing Test Build  (Read 2007 times)

0 Members and 1 Guest are viewing this topic.

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Multiplayer Pausing Test Build
Designed to fix Mantis 1262 but I can't test multi at the moment.

I need to some people to try out this build and see if they can reproduce the bug on it. Tell me if you spot any other weird behaviour after unpausing too as I told the game to not read any of the ship controls while paused not just the fire all the missiles key.

EDIT : Forgot to add the patch.

Code: [Select]
Index: code/freespace2/freespace.cpp
===================================================================
--- code/freespace2/freespace.cpp (revision 9476)
+++ code/freespace2/freespace.cpp (working copy)
@@ -4378,7 +4378,9 @@
 
  if( (!popup_running_state()) && (!popupdead_is_active()) ){
  game_process_keys();
- read_player_controls( Player_obj, flFrametime);
+ if(gameseq_get_state()!= GS_STATE_MULTI_PAUSED){
+ read_player_controls( Player_obj, flFrametime);
+ }
  }
 
  // if we're not the master, we may have to send the server-critical ship status button_info bits
« Last Edit: December 30, 2012, 09:42:32 pm by karajorma »
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]