1
0
mirror of https://github.com/blupi-games/planetblupi synced 2024-12-30 10:15:36 +01:00

Make like previous commit but with the recording

This commit is contained in:
Mathieu Schroeter 2018-06-26 23:16:03 +02:00
parent 881a0137b4
commit e70873a7b8

View File

@ -4985,7 +4985,9 @@ CEvent::DemoRecStart ()
InitRandom ();
m_pDecor->SetTime (0);
m_speed = 1;
m_speed = 1;
this->m_scrollSpeedPrev = this->m_scrollSpeed;
this->m_scrollSpeed = 3;
m_bStartRecording = true;
}
@ -5026,9 +5028,10 @@ CEvent::DemoRecStop ()
}
m_pDemoSDLBuffer.clear ();
m_bDemoRec = false;
m_demoTime = 0;
m_bStartRecording = false;
m_bDemoRec = false;
m_demoTime = 0;
m_bStartRecording = false;
this->m_scrollSpeed = this->m_scrollSpeedPrev;
}
// Début de la reproduction d'une démo.