mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Fix bug where the event is malformed
This commit is contained in:
parent
bfe84f65ca
commit
69acdc1bcc
@ -4848,7 +4848,7 @@ CEvent::DemoStep ()
|
||||
event.motion.x = m_pDemoSDLBuffer[m_demoIndex].x;
|
||||
event.motion.y = m_pDemoSDLBuffer[m_demoIndex].y;
|
||||
}
|
||||
else
|
||||
else if (event.type != SDL_KEYUP && event.type != SDL_KEYDOWN)
|
||||
{
|
||||
event.button.button = m_pDemoSDLBuffer[m_demoIndex].button;
|
||||
event.button.x = m_pDemoSDLBuffer[m_demoIndex].x;
|
||||
|
Loading…
x
Reference in New Issue
Block a user