Made 'invui' work in main menu

master
krzys-h 2015-09-12 10:35:31 +02:00
parent 38a26e53a9
commit 21a7f1bced
2 changed files with 7 additions and 7 deletions

2
data

@ -1 +1 @@
Subproject commit 27acff484b0aaf66e0f401ab36dd126270fe4b55
Subproject commit 9a3bba50a6e2a556e21728da15a3055c65910615

View File

@ -1238,12 +1238,6 @@ void CRobotMain::ExecuteCmd(char *cmd)
return;
}
if (strcmp(cmd, "invui") == 0)
{
m_engine->SetRenderInterface(!m_engine->GetRenderInterface());
return;
}
if (strcmp(cmd, "noclip") == 0)
{
CObject* object = GetSelect();
@ -1366,6 +1360,12 @@ void CRobotMain::ExecuteCmd(char *cmd)
return;
}
if (strcmp(cmd, "invui") == 0)
{
m_engine->SetRenderInterface(!m_engine->GetRenderInterface());
return;
}
if (strcmp(cmd, "selectinsect") == 0)
{
m_selectInsect = !m_selectInsect;