diff options
author | Filippos Karapetis | 2019-08-17 21:23:36 +0300 |
---|---|---|
committer | Filippos Karapetis | 2019-08-17 21:56:11 +0300 |
commit | 1641bd3a61d5869a409d2594399782231b57795a (patch) | |
tree | 49eb346c6db79949e577d4f57c02e9fc6b7c0048 /engines/startrek | |
parent | fe628415613eee227d66b62766ae81e21fc95efb (diff) | |
download | scummvm-rg350-1641bd3a61d5869a409d2594399782231b57795a.tar.gz scummvm-rg350-1641bd3a61d5869a409d2594399782231b57795a.tar.bz2 scummvm-rg350-1641bd3a61d5869a409d2594399782231b57795a.zip |
STARTREK: Allow lowercase for mission names in console commands
Diffstat (limited to 'engines/startrek')
-rw-r--r-- | engines/startrek/console.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/startrek/console.cpp b/engines/startrek/console.cpp index 816b5ce742..471294fe9c 100644 --- a/engines/startrek/console.cpp +++ b/engines/startrek/console.cpp @@ -44,6 +44,7 @@ bool Console::Cmd_Room(int argc, const char **argv) { } _vm->_missionToLoad = argv[1]; + _vm->_missionToLoad.toUppercase(); _vm->_roomIndexToLoad = atoi(argv[2]); _vm->runAwayMission(); @@ -55,6 +56,7 @@ bool Console::Cmd_Actions(int argc, const char **argv) { if (argc == 3) { Common::String missionName = argv[1]; + missionName.toUppercase(); int roomIndex = atoi(argv[2]); screenName = missionName + (char)(roomIndex + '0'); |