Update SceneEditor.cpp

Use of operand of type #bool# in #operator++# is depreciated.
This commit is contained in:
pelupessy 2020-07-06 17:03:34 +09:00 committed by GitHub
parent 2f55036986
commit 470a89510d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)