1
0
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:
Mathieu Schroeter 2017-08-26 21:19:35 +02:00
parent c7c711b6d6
commit 3f89c8d644

View File

@ -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);