From 470a89510da22bfa4b77774ba71843a0b32debfa Mon Sep 17 00:00:00 2001 From: pelupessy Date: Mon, 6 Jul 2020 17:03:34 +0900 Subject: [PATCH] Update SceneEditor.cpp Use of operand of type #bool# in #operator++# is depreciated. --- Aquaria/SceneEditor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Aquaria/SceneEditor.cpp b/Aquaria/SceneEditor.cpp index ca6aea6..962638a 100644 --- a/Aquaria/SceneEditor.cpp +++ b/Aquaria/SceneEditor.cpp @@ -3386,7 +3386,7 @@ void SceneEditor::update(float dt) else if (cursorOffset.x < oldPosition.x-10) right = false; else - noSide++; + noSide = 1; if (cursorOffset.y > oldPosition.y+10) down = true; else if (cursorOffset.y < oldPosition.y-10)