Skip to content

Commit

Permalink
FIXED compilation with current engine
Browse files Browse the repository at this point in the history
  • Loading branch information
ksterker committed Feb 27, 2010
1 parent 45dcc55 commit 3fd692b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/mapedit/gui_mapview.cc
Expand Up @@ -107,8 +107,7 @@ void GuiMapview::setMap (MapData *area)
{
MapMgr::set_map (area);

View->set_position (area->x(), area->y());
View->set_z (area->z());
View->set_position (area->x(), area->y(), area->z());

// display map coordinates of mouse pointer
int x, y;
Expand Down Expand Up @@ -156,8 +155,7 @@ void GuiMapview::render (const int & sx, const int & sy, const int & l, const in
if (area != NULL)
{
// update position of map
View->set_position (area->x() + sx, area->y() + sy);
View->set_z (area->z());
View->set_position (area->x() + sx, area->y() + sy, area->z());

// render mapview to screen
View->resize (l, h);
Expand Down

0 comments on commit 3fd692b

Please sign in to comment.