summaryrefslogtreecommitdiffstats
path: root/src/control/RPGEdit.cpp
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-09-24 02:27:30 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-09-24 02:27:30 +0200
commitb5c7b4a162a780980b3ecacf0edd49541888a0a8 (patch)
treea401b50e2e8071fc6aec6b5392997b902e1b721d /src/control/RPGEdit.cpp
parentea8840291cdf66784c6a2cb465b63ccfb5483c38 (diff)
downloadrpgedit-b5c7b4a162a780980b3ecacf0edd49541888a0a8.tar
rpgedit-b5c7b4a162a780980b3ecacf0edd49541888a0a8.zip
Move more SDL-specific things to the view
Diffstat (limited to 'src/control/RPGEdit.cpp')
-rw-r--r--src/control/RPGEdit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/RPGEdit.cpp b/src/control/RPGEdit.cpp
index 0c55a6b..0f31468 100644
--- a/src/control/RPGEdit.cpp
+++ b/src/control/RPGEdit.cpp
@@ -110,7 +110,7 @@ void RPGEdit::eventLoop() {
void RPGEdit::run() {
std::shared_ptr<Model::Map> map = Model::Map::load("test");
- ctx = std::make_shared<MapContext>(&eventBus, &inputHandler, &tileLoader, map);
+ ctx = std::make_shared<MapContext>(&eventBus, &inputHandler, map);
window = std::make_shared<View::Window>();
mapView = ctx->initView(window);