Fixed several issues with Parser and enabled room navigation

This commit is contained in:
2026-08-21 20:02:11 -05:00
parent b1e87868c8
commit 3e50d46284
9 changed files with 91 additions and 43 deletions
+2 -2
View File
@@ -34,8 +34,8 @@ class Creature
bool IsAlive() { return GetHealth() > 0; }
void PrintDescription() { printf("%s\n", description); }
void PrintName() { printf("%s\n", name); }
void PrintDescription() { printf("%s\n", description.data()); }
void PrintName() { printf("%s\n", name.data()); }
virtual ~Creature() = default;
};
+3 -3
View File
@@ -15,8 +15,8 @@ void PlayerEditor::Edit()
{
printf("Options: %s\n");
for (auto &command : commands.begin())
/*for (const auto &command : commands.begin())
{
printf("%s\n", command.c_str());
}
printf("%s\n", command);
}*/
}