mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 03:30:46 +00:00
Fix slimers not disappearing on dnmonsters cheat, display 2nd 'on' state.
git-svn-id: https://svn.eduke32.com/eduke32@2867 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
8f61b72ca2
commit
af626df86b
2 changed files with 3 additions and 3 deletions
|
@ -3983,7 +3983,7 @@ ACTOR_STATIC void G_MoveActors(void)
|
||||||
// case GREENSLIME+7:
|
// case GREENSLIME+7:
|
||||||
|
|
||||||
// #ifndef VOLUMEONE
|
// #ifndef VOLUMEONE
|
||||||
if (g_netServer && (!g_netServer && ud.multimode < 2))
|
if (!g_netServer && ud.multimode < 2)
|
||||||
{
|
{
|
||||||
if (g_noEnemies == 1)
|
if (g_noEnemies == 1)
|
||||||
{
|
{
|
||||||
|
|
|
@ -7338,12 +7338,12 @@ FOUNDCHEAT:
|
||||||
|
|
||||||
case CHEAT_MONSTERS:
|
case CHEAT_MONSTERS:
|
||||||
{
|
{
|
||||||
const char *s[] = { "On", "Off" };
|
const char *s[] = { "On", "Off", "On (2)" };
|
||||||
|
|
||||||
if (++g_noEnemies == 3)
|
if (++g_noEnemies == 3)
|
||||||
g_noEnemies = 0;
|
g_noEnemies = 0;
|
||||||
|
|
||||||
Bsprintf(ScriptQuotes[QUOTE_RESERVED4], "Monsters: %s", s[g_noEnemies & 1]);
|
Bsprintf(ScriptQuotes[QUOTE_RESERVED4], "Monsters: %s", s[g_noEnemies]);
|
||||||
P_DoQuote(QUOTE_RESERVED4,g_player[myconnectindex].ps);
|
P_DoQuote(QUOTE_RESERVED4,g_player[myconnectindex].ps);
|
||||||
|
|
||||||
end_cheat();
|
end_cheat();
|
||||||
|
|
Loading…
Reference in a new issue