mirror of
https://github.com/jmarshall23/CnC_Remastered_Collection.git
synced 2026-08-17 08:50:29 +02:00
Merge of Marshall/master into BL/master.
Merge of SDL code from feature branch into BL/master.
This commit is contained in:
@@ -1784,13 +1784,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
|
||||
|
||||
Reference in New Issue
Block a user