- [NEW] Nova debug info: flags

- [NEW] Só de caminar i botar funcionant
- [NEW] Só de enemics rebotant
- [NEW] Menus amb só (MOC MOC!)
- [FIX] El so de caminar ja no continua durant el menu ingame
This commit is contained in:
2024-10-03 16:27:43 +02:00
parent 9ca1e59f44
commit 1251ef5110
10 changed files with 64 additions and 21 deletions

View File

@@ -264,7 +264,7 @@ namespace console
strcpy(msg, "ERROR: Nothing to show.");
} else {
strcpy(msg, "Ok.");
const int value = getIndexFromString(tokens[1], {"NOTHING", "ACTOR-POS"});
const int value = getIndexFromString(tokens[1], {"NOTHING", "POS", "FLAGS"});
if (value==-1)
strcpy(msg, "ERROR: Cannot show that.");
else
@@ -276,7 +276,7 @@ namespace console
strcpy(msg, "ERROR: Nothing to hide.");
} else {
strcpy(msg, "Ok.");
const int value = getIndexFromString(tokens[1], {"NOTHING", "ACTOR-POS"});
const int value = getIndexFromString(tokens[1], {"NOTHING", "POS", "FLAGS"});
if (value==-1)
strcpy(msg, "ERROR: Cannot hide that.");
else
@@ -309,10 +309,10 @@ namespace console
strcpy(msg, "Exits the game.");
break;
case CMD_SHOW:
strcpy(msg, "NOTHING ACTOR-POS");
strcpy(msg, "NOTHING POS FLAGS");
break;
case CMD_HIDE:
strcpy(msg, "NOTHING ACTOR-POS");
strcpy(msg, "NOTHING POS FLAGS");
break;
}