From 1641bd3a61d5869a409d2594399782231b57795a Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sat, 17 Aug 2019 21:23:36 +0300 Subject: STARTREK: Allow lowercase for mission names in console commands --- engines/startrek/console.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines/startrek') 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'); -- cgit v1.2.3