pingus-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pingus-CVS] r2886 - branches/pingus_sdl/src/actions


From: grumbel at BerliOS
Subject: [Pingus-CVS] r2886 - branches/pingus_sdl/src/actions
Date: Mon, 13 Aug 2007 21:05:44 +0200

Author: grumbel
Date: 2007-08-13 21:05:43 +0200 (Mon, 13 Aug 2007)
New Revision: 2886

Modified:
   branches/pingus_sdl/src/actions/blocker.cpp
Log:
fixed x/y mixup


Modified: branches/pingus_sdl/src/actions/blocker.cpp
===================================================================
--- branches/pingus_sdl/src/actions/blocker.cpp 2007-08-13 16:25:36 UTC (rev 
2885)
+++ branches/pingus_sdl/src/actions/blocker.cpp 2007-08-13 19:05:43 UTC (rev 
2886)
@@ -35,7 +35,7 @@
   if (   rel_getpixel(0,-1)  ==  Groundtype::GP_NOTHING
       && rel_getpixel(0, -2) ==  Groundtype::GP_GROUND)
     {
-      pingu->set_x(pingu->get_x() + 1);
+      pingu->set_y(pingu->get_y() + 1);
     }
   else if (   rel_getpixel(0,-1) ==  Groundtype::GP_NOTHING
           && rel_getpixel(0,-2) ==  Groundtype::GP_NOTHING





reply via email to

[Prev in Thread] Current Thread [Next in Thread]