Really fix the Pause key on Windows/SDL2.

This requires enabling the same workaround as for Linux. Maybe it's not
system-dependent at all.

git-svn-id: https://svn.eduke32.com/eduke32@4193 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2013-12-06 18:56:44 +00:00
parent 19da43d23b
commit 1628debd7c

View file

@ -2092,9 +2092,9 @@ int32_t handleevents(void)
} }
else else
{ {
# ifdef __linux # if 1
// The pause key generates a release event right after // The pause key generates a release event right after
// the pressing one on linux. As a result, it gets unseen // the pressing one. As a result, it gets unseen
// by the game most of the time. // by the game most of the time.
if (code == 0x59) // pause if (code == 0x59) // pause
break; break;