1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-12-25 22:25:46 +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)
right = false;
else
noSide++;
noSide = 1;
if (cursorOffset.y > oldPosition.y+10)
down = true;
else if (cursorOffset.y < oldPosition.y-10)