Changeset 6 for chess


Ignore:
Timestamp:
01/30/09 16:51:37 (13 years ago)
Author:
BegemoT
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chess/src/chess/control/BaseController.java

    r5 r6  
    152152            } 
    153153 
    154             if ( code == ui.fireKey && unit != null ) { 
     154            if ( code == ui.fireKey && unit != null && unit.getOwner() == player ) { 
    155155                ui.setSelectedCell( focused ); 
    156156                ui.addCommand( app.getMidlet().backCommand ); 
Note: See TracChangeset for help on using the changeset viewer.