From 657f3ea479ec9a1e7703140d0655fd7283a784e0 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Wed, 24 Sep 2014 03:38:46 +0200 Subject: Directly use MapView contructor --- 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 e8d71a6..31998b2 100644 --- a/src/control/RPGEdit.cpp +++ b/src/control/RPGEdit.cpp @@ -107,7 +107,7 @@ void RPGEdit::run() { ctx = std::make_shared(&eventBus, &inputHandler, map); window = std::make_shared(); - mapView = ctx->initView(window); + mapView = std::make_shared(window, map); eventThread = std::thread([this] { eventLoop(); }); -- cgit v1.2.3