Up was moving to down and down to up - fixed.
authorRicardo Cruz <rick2@aeiou.pt>
Thu, 13 May 2004 17:50:51 +0000 (17:50 +0000)
committerRicardo Cruz <rick2@aeiou.pt>
Thu, 13 May 2004 17:50:51 +0000 (17:50 +0000)
SVN-Revision: 1164

src/leveleditor.cpp

index 8b8e66b..93160de 100644 (file)
@@ -1546,11 +1546,11 @@ void le_checkevents()
     switch(le_move_up_bt->get_state())
     {
     case BUTTON_PRESSED:
-      pos_y += 192;
+      pos_y -= 192;
       show_minimap = true;
       break;
     case BUTTON_HOVER:
-      pos_y += 32;
+      pos_y -= 32;
       show_minimap = true;
       break;
     case BUTTON_CLICKED:
@@ -1563,11 +1563,11 @@ void le_checkevents()
     switch(le_move_down_bt->get_state())
     {
     case BUTTON_PRESSED:
-      pos_y -= 192;
+      pos_y += 192;
       show_minimap = true;
       break;
     case BUTTON_HOVER:
-      pos_y -= 32;
+      pos_y += 32;
       show_minimap = true;
       break;
     case BUTTON_CLICKED: