[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] r3366 - trunk/pingus/src/components
From: |
grumbel at BerliOS |
Subject: |
[Pingus-CVS] r3366 - trunk/pingus/src/components |
Date: |
Mon, 29 Oct 2007 01:38:45 +0100 |
Author: grumbel
Date: 2007-10-29 01:38:45 +0100 (Mon, 29 Oct 2007)
New Revision: 3366
Modified:
trunk/pingus/src/components/playfield.cpp
Log:
- added temporary workaround for lack of start-pos
Modified: trunk/pingus/src/components/playfield.cpp
===================================================================
--- trunk/pingus/src/components/playfield.cpp 2007-10-28 17:21:13 UTC (rev
3365)
+++ trunk/pingus/src/components/playfield.cpp 2007-10-29 00:38:45 UTC (rev
3366)
@@ -46,6 +46,9 @@
mouse_scrolling = false;
state.set_limit(Rect(Vector2i(0, 0), Size(world->get_width(),
world->get_height())));
+
+ // FIXME: Temporary workaround till start-pos is integrated a bit more
properly
+ state.set_pos(Vector2f(world->get_width()/2, world->get_height()/2));
}
Playfield::~Playfield()
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] r3366 - trunk/pingus/src/components,
grumbel at BerliOS <=