mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Do not record empty events
This commit is contained in:
parent
c7c711b6d6
commit
3f89c8d644
@ -4937,6 +4937,9 @@ CEvent::DemoRecEvent (const SDL_Event & event)
|
||||
demoEvent.x = event.motion.x;
|
||||
demoEvent.y = event.motion.y;
|
||||
break;
|
||||
|
||||
default:
|
||||
return;
|
||||
}
|
||||
|
||||
m_pDemoSDLBuffer.push_back (demoEvent);
|
||||
|
Loading…
x
Reference in New Issue
Block a user