From 00fe87f61d65693704373c7568c561d9bac61d79 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Mon, 29 Apr 2019 15:10:02 +0200 Subject: [PATCH] modules/world: invert player 1 and 2 cam in horizontal split mode --- gamecore/modules/world/camera.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gamecore/modules/world/camera.lua b/gamecore/modules/world/camera.lua index 359a56a..4adb8cb 100644 --- a/gamecore/modules/world/camera.lua +++ b/gamecore/modules/world/camera.lua @@ -63,11 +63,11 @@ function CameraSystem:initViews() self.views.posList.dual[2].y = (self.views.baseheight/4) else self.views.posList.dual[1] = {} - self.views.posList.dual[1].x = (self.views.basewidth/4) + self.views.posList.dual[1].x = -(self.views.basewidth/4) self.views.posList.dual[1].y = 0 self.views.posList.dual[2] = {} - self.views.posList.dual[2].x = -(self.views.basewidth/4) + self.views.posList.dual[2].x = (self.views.basewidth/4) self.views.posList.dual[2].y = 0 end