revert 2009-03-03T04:36:38Z!cjhopman@gmail.com
This commit is contained in:
parent
4e70c973c3
commit
35d5ac7d1a
1 changed files with 1 additions and 1 deletions
|
@ -736,7 +736,7 @@ void play_controller::process_keyup_event(const SDL_Event& event) {
|
|||
// how far the unit can move in that many turns
|
||||
if(event.key.keysym.sym >= '1' && event.key.keysym.sym <= '7') {
|
||||
const int new_path_turns = (event.type == SDL_KEYDOWN) ?
|
||||
event.key.keysym.sym - '0' : 1;
|
||||
event.key.keysym.sym - '1' : 0;
|
||||
|
||||
if(new_path_turns != mouse_handler_.get_path_turns()) {
|
||||
mouse_handler_.set_path_turns(new_path_turns);
|
||||
|
|
Loading…
Add table
Reference in a new issue