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:
parent
1300d8fb05
commit
d1cb5919c5
@ -4883,7 +4883,9 @@ CEvent::DemoRecStart ()
|
|||||||
|
|
||||||
InitRandom ();
|
InitRandom ();
|
||||||
m_pDecor->SetTime (0);
|
m_pDecor->SetTime (0);
|
||||||
m_speed = 1;
|
m_speed = 1;
|
||||||
|
this->m_scrollSpeedPrev = this->m_scrollSpeed;
|
||||||
|
this->m_scrollSpeed = 3;
|
||||||
|
|
||||||
m_bStartRecording = true;
|
m_bStartRecording = true;
|
||||||
}
|
}
|
||||||
@ -4924,9 +4926,10 @@ CEvent::DemoRecStop ()
|
|||||||
}
|
}
|
||||||
|
|
||||||
m_pDemoSDLBuffer.clear ();
|
m_pDemoSDLBuffer.clear ();
|
||||||
m_bDemoRec = false;
|
m_bDemoRec = false;
|
||||||
m_demoTime = 0;
|
m_demoTime = 0;
|
||||||
m_bStartRecording = false;
|
m_bStartRecording = false;
|
||||||
|
this->m_scrollSpeed = this->m_scrollSpeedPrev;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Début de la reproduction d'une démo.
|
// Début de la reproduction d'une démo.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user