mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Fix stop when the played demo is ended
This commit is contained in:
parent
e099ba8e51
commit
d7eaa6995d
@ -5315,6 +5315,11 @@ CEvent::TreatEventBase (const SDL_Event & event)
|
|||||||
g_enableRecorder && m_phase == EV_PHASE_PLAY && !m_bDemoPlay &&
|
g_enableRecorder && m_phase == EV_PHASE_PLAY && !m_bDemoPlay &&
|
||||||
m_bStartRecording)
|
m_bStartRecording)
|
||||||
DemoRecStop (); // stop recording
|
DemoRecStop (); // stop recording
|
||||||
|
else if (m_phase == EV_PHASE_PLAY && m_bDemoPlay)
|
||||||
|
{
|
||||||
|
DemoPlayStop ();
|
||||||
|
return true;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case SDLK_F9:
|
case SDLK_F9:
|
||||||
if (m_phase == EV_PHASE_PLAY)
|
if (m_phase == EV_PHASE_PLAY)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user