mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-01-19 07:51:54 +00:00
Modified some code to compile
This commit is contained in:
parent
700b3ee558
commit
f8557f6bd5
1 changed files with 2 additions and 2 deletions
|
@ -736,7 +736,7 @@ const char *idWindow::HandleEvent(const sysEvent_t *event, bool *updateVisuals)
|
|||
*updateVisuals = true;
|
||||
}
|
||||
|
||||
if (event->evValue == K_MOUSE1 || event->evValue == K_JOY2) {
|
||||
if (event->evValue == K_MOUSE1 || event->evValue == K_JOY_BTN_EAST) {
|
||||
|
||||
if (!event->evValue2 && GetCaptureChild()) {
|
||||
GetCaptureChild()->LoseCapture();
|
||||
|
@ -785,7 +785,7 @@ const char *idWindow::HandleEvent(const sysEvent_t *event, bool *updateVisuals)
|
|||
} else if (!actionUpRun) {
|
||||
actionUpRun = RunScript( ON_ACTIONRELEASE );
|
||||
}
|
||||
} else if (event->evValue == K_MOUSE2 || event->evValue == K_JOY1) {
|
||||
} else if (event->evValue == K_MOUSE2 || event->evValue == K_JOY_BTN_SOUTH) {
|
||||
|
||||
if (!event->evValue2 && GetCaptureChild()) {
|
||||
GetCaptureChild()->LoseCapture();
|
||||
|
|
Loading…
Reference in a new issue