From b5c7b4a162a780980b3ecacf0edd49541888a0a8 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Wed, 24 Sep 2014 02:27:30 +0200 Subject: Move more SDL-specific things to the view --- src/control/RPGEdit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/control/RPGEdit.cpp') 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 map = Model::Map::load("test"); - ctx = std::make_shared(&eventBus, &inputHandler, &tileLoader, map); + ctx = std::make_shared(&eventBus, &inputHandler, map); window = std::make_shared(); mapView = ctx->initView(window); -- cgit v1.2.3