mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-04 21:47:53 +00:00
revert 2009-03-03T04:36:38Z!cjhopman@gmail.com
This commit is contained in:
parent
4e70c973c3
commit
35d5ac7d1a
@ -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…
x
Reference in New Issue
Block a user