diff options
Diffstat (limited to 'src/rpgedit.cpp')
-rw-r--r-- | src/rpgedit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rpgedit.cpp b/src/rpgedit.cpp index c507880..b4fc89e 100644 --- a/src/rpgedit.cpp +++ b/src/rpgedit.cpp @@ -91,8 +91,8 @@ int main(__attribute__((unused)) int argc, __attribute__((unused)) char *argv[]) if (!SDL_TICKS_PASSED(SDL_GetTicks(), lastFrameTicks + MIN_FRAME_DELAY)) continue; - std::pair<float, float> pos = map->getPlayerEntity().getPosition(); - mapView->render(pos.first, pos.second); + Model::Position pos = map->getPlayerEntity().getPosition(); + mapView->render(pos.x, pos.y); lastFrameTicks = ticks; } |