summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/rpgedit.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rpgedit.cpp b/src/rpgedit.cpp
index 6057339..8dcd472 100644
--- a/src/rpgedit.cpp
+++ b/src/rpgedit.cpp
@@ -90,7 +90,8 @@ int main(__attribute__((unused)) int argc, __attribute__((unused)) char *argv[])
ticks = newTicks;
- mapView->render(8, 8);
+ std::pair<float, float> pos = map->getPlayerEntity().getPosition();
+ mapView->render(pos.first, pos.second);
}
}