- moved some event related code to 'common'.

This commit is contained in:
Christoph Oelckers 2020-06-13 20:31:57 +02:00
commit 5dfe9918d0
24 changed files with 410 additions and 237 deletions

View file

@ -965,6 +965,10 @@ CCMD (spycancel)
//
bool G_Responder (event_t *ev)
{
// check events
if (ev->type != EV_Mouse && primaryLevel->localEventManager->Responder(ev)) // [ZZ] ZScript ate the event // update 07.03.17: mouse events are handled directly
return true;
// any other key pops up menu if in demos
// [RH] But only if the key isn't bound to a "special" command
if (gameaction == ga_nothing &&