revert incorrect assertion

This commit is contained in:
Tim Felgentreff 2020-11-28 21:46:53 +01:00
parent e2e3caaad1
commit 54b7e13e45

View file

@ -604,8 +604,9 @@ static void SdlDoEvent(const EventCallback &callbacks, SDL_Event &event)
break;
}
Assert(&callbacks == GetCallbacks());
handleInput(&event);
if (&callbacks == GetCallbacks()) {
handleInput(&event);
}
}
/**