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:
parent
2f55036986
commit
470a89510d
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue