mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-12 12:09:15 +00:00
ZVISION: Fix atan2() arguments order. CID 1394387
This commit is contained in:
parent
0ec245b97b
commit
bb2f218fa1
@ -157,7 +157,7 @@ bool SafeControl::onMouseUp(const Common::Point &screenSpacePos, const Common::P
|
||||
|
||||
Common::Point tmp = backgroundImageSpacePos - _center;
|
||||
|
||||
float dd = atan2((float)tmp.x, (float)tmp.y) * 57.29578;
|
||||
float dd = atan2((float)tmp.y, (float)tmp.x) * 57.29578;
|
||||
|
||||
int16 dp_state = 360 / _statesCount;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user