mail[Wesnoth-commits] r33324 - /trunk/src/play_controller.cpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by cjhopman on March 03, 2009 - 21:50:
Author: cjhopman
Date: Tue Mar  3 21:50:52 2009
New Revision: 33324

URL: http://svn.gna.org/viewcvs/wesnoth?rev=33324&view=rev
Log:
-revert 33299

Modified:
    trunk/src/play_controller.cpp

Modified: trunk/src/play_controller.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/play_controller.cpp?rev=33324&r1=33323&r2=33324&view=diff
==============================================================================
--- trunk/src/play_controller.cpp (original)
+++ trunk/src/play_controller.cpp Tue Mar  3 21:50:52 2009
@@ -736,7 +736,7 @@
        // 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);




Related Messages


Powered by MHonArc, Updated Tue Mar 03 22:20:07 2009