Let member function use it own class and not the global variable.

This commit is contained in:
Faerbit 2014-12-01 12:33:00 +01:00
parent 81234ca22a
commit 4daf4c8ccf

View File

@ -121,7 +121,7 @@ bool Application::isFocused() {
void Application::setCameraLock(bool locked) {
// Prevent camera jumping huge distances
if (!locked) {
app.ignoreNextMouseUpdate();
ignoreNextMouseUpdate();
}
cameraLock = locked;
}