aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/menu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/parallaction/menu.cpp')
-rw-r--r--engines/parallaction/menu.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/parallaction/menu.cpp b/engines/parallaction/menu.cpp
index 12d4726ebd..178eec0fb5 100644
--- a/engines/parallaction/menu.cpp
+++ b/engines/parallaction/menu.cpp
@@ -196,7 +196,7 @@ void Menu::newGame() {
selectCharacter();
- char *v4 = strchr(_location, '.') + 1;
+ char *v4 = strchr(_vm->_location._name, '.') + 1;
strcpy(_engine->_characterName, v4);
return; // start game
@@ -276,7 +276,7 @@ uint16 Menu::selectGame() {
// load game
- strcpy(_location, "fogne");
+ strcpy(_vm->_location._name, "fogne");
strcpy(_engine->_characterName, "dough");
_vm->loadGame();
@@ -391,12 +391,12 @@ void Menu::selectCharacter() {
if (_dino_points > _donna_points && _dino_points > _dough_points) {
- sprintf(_location, "test.%s", _dinoName);
+ sprintf(_vm->_location._name, "test.%s", _dinoName);
} else {
if (_donna_points > _dino_points && _donna_points > _dough_points) {
- sprintf(_location, "test.%s", _donnaName);
+ sprintf(_vm->_location._name, "test.%s", _donnaName);
} else {
- sprintf(_location, "test.%s", _doughName);
+ sprintf(_vm->_location._name, "test.%s", _doughName);
}
}