Update of /cvsroot/rails/18xx/rails/ui/swing
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv6975/rails/ui/swing
Modified Files:
ORWindow.java
Log Message:
Added a precaution
Index: ORWindow.java
===================================================================
RCS file: /cvsroot/rails/18xx/rails/ui/swing/ORWindow.java,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -d -r1.30 -r1.31
*** ORWindow.java 29 Dec 2009 21:58:11 -0000 1.30
--- ORWindow.java 31 Dec 2009 09:58:18 -0000 1.31
***************
*** 120,124 ****
// Add the actor for safety checking in the server
! action.setPlayerName(orPanel.getORPlayer());
// Process the action
boolean result = gameUIManager.processOnServer(action);
--- 120,124 ----
// Add the actor for safety checking in the server
! if (action != null) action.setPlayerName(orPanel.getORPlayer());
// Process the action
boolean result = gameUIManager.processOnServer(action);
|