* Blocked cheat input in SatCom, intro movie and while editing cbot (issue #130)
parent
25c3ba0d3b
commit
956efb1feb
|
@ -1331,6 +1331,7 @@ bool CRobotMain::EventProcess(Event &event)
|
||||||
// Management of the console.
|
// Management of the console.
|
||||||
if (m_phase != PHASE_NAME &&
|
if (m_phase != PHASE_NAME &&
|
||||||
!m_movie->IsExist() &&
|
!m_movie->IsExist() &&
|
||||||
|
!m_movieLock && !m_editLock &&
|
||||||
event.type == EVENT_KEY_DOWN &&
|
event.type == EVENT_KEY_DOWN &&
|
||||||
event.key.key == KEY(PAUSE)) // Pause ?
|
event.key.key == KEY(PAUSE)) // Pause ?
|
||||||
{
|
{
|
||||||
|
@ -2090,6 +2091,8 @@ void CRobotMain::StartDisplayInfo(const char *filename, int index)
|
||||||
//! End of displaying of instructions
|
//! End of displaying of instructions
|
||||||
void CRobotMain::StopDisplayInfo()
|
void CRobotMain::StopDisplayInfo()
|
||||||
{
|
{
|
||||||
|
if (m_cmdEdit) return;
|
||||||
|
|
||||||
if (m_movieInfoIndex != -1) // film to read the SatCom?
|
if (m_movieInfoIndex != -1) // film to read the SatCom?
|
||||||
m_movie->Start(MM_SATCOMclose, 2.0f);
|
m_movie->Start(MM_SATCOMclose, 2.0f);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue