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
_______________________________________________
pingus-cvs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/pingus-cvs