Author: jsalmon3
Date: 2007-08-09 18:09:57 +0200 (Thu, 09 Aug 2007)
New Revision: 2829
Modified:
branches/pingus_sdl/src/worldmap/level_dot.cpp
Log:
Fixed level dot highlighting
Modified: branches/pingus_sdl/src/worldmap/level_dot.cpp
===================================================================
--- branches/pingus_sdl/src/worldmap/level_dot.cpp 2007-08-08 06:22:56 UTC
(rev 2828)
+++ branches/pingus_sdl/src/worldmap/level_dot.cpp 2007-08-09 16:09:57 UTC
(rev 2829)
@@ -56,8 +56,8 @@
void
LevelDot::draw(DrawingContext& gc)
{
- Vector3f mpos; //// =
gc.screen_to_world(Vector3f(Input::Controller::get_current()->get_pointer()->get_x_pos(),
- ////
Input::Controller::get_current()->get_pointer()->get_y_pos()));
+ Vector3f mpos =
gc.screen_to_world(Vector3f(Input::Controller::get_current()->get_pointer()->get_x_pos(),
+ Input::Controller::get_current()->get_pointer()->get_y_pos()));
float x = mpos.x - pos.x;
float y = mpos.y - pos.y;
_______________________________________________
pingus-cvs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/pingus-cvs