From 4daf4c8ccf87f67d66b2430f44e5f694ccd7526c Mon Sep 17 00:00:00 2001 From: Faerbit Date: Mon, 1 Dec 2014 12:33:00 +0100 Subject: [PATCH] Let member function use it own class and not the global variable. --- main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cc b/main.cc index 0832167..0646a68 100644 --- a/main.cc +++ b/main.cc @@ -121,7 +121,7 @@ bool Application::isFocused() { void Application::setCameraLock(bool locked) { // Prevent camera jumping huge distances if (!locked) { - app.ignoreNextMouseUpdate(); + ignoreNextMouseUpdate(); } cameraLock = locked; }