mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Fix regression when recording or playing a demo
Only keyboard events must be accepted with demos.
This commit is contained in:
parent
a2b95775d4
commit
67c7c4c970
@ -3501,6 +3501,9 @@ CEvent::DecorAutoShift ()
|
||||
}
|
||||
else
|
||||
{
|
||||
if (m_bDemoRec || m_bDemoPlay)
|
||||
return;
|
||||
|
||||
switch (m_mouseSprite)
|
||||
{
|
||||
case SPRITE_ARROWL:
|
||||
@ -3542,9 +3545,6 @@ CEvent::DecorAutoShift ()
|
||||
|
||||
m_bShift = false;
|
||||
|
||||
if (m_bDemoRec || m_bDemoPlay)
|
||||
return;
|
||||
|
||||
if (!byKeyboard && (!m_bFullScreen || m_scrollSpeed == 0))
|
||||
return;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user