* Center on player location at Skirmish start

This commit is contained in:
Ben Lankamp
2020-06-18 22:09:37 +02:00
parent 829f27c76f
commit 71007c06d0
7 changed files with 26 additions and 30 deletions
+2 -7
View File
@@ -1776,13 +1776,8 @@ int RadarClass::RTacticalClass::Action(unsigned flags, KeyNumType & key)
** or release event, special mouse queuing storage variables are used. Other
** events must use the current mouse position globals.
*/
if (flags & (LEFTPRESS|LEFTRELEASE|RIGHTPRESS|RIGHTRELEASE)) {
x = Keyboard->MouseQX;
y = Keyboard->MouseQY;
} else {
x = Get_Mouse_X();
y = Get_Mouse_Y();
}
x = Get_Mouse_X();
y = Get_Mouse_Y();
/*
** See if the mouse is over the radar general area, but not yet