1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-11-25 01:33:49 +00:00

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

View file

@ -3386,7 +3386,7 @@ void SceneEditor::update(float dt)
else if (cursorOffset.x < oldPosition.x-10) else if (cursorOffset.x < oldPosition.x-10)
right = false; right = false;
else else
noSide++; noSide = 1;
if (cursorOffset.y > oldPosition.y+10) if (cursorOffset.y > oldPosition.y+10)
down = true; down = true;
else if (cursorOffset.y < oldPosition.y-10) else if (cursorOffset.y < oldPosition.y-10)