diff options
author | Filippos Karapetis | 2019-08-16 14:14:51 +0300 |
---|---|---|
committer | Filippos Karapetis | 2019-08-16 14:16:43 +0300 |
commit | 878675cbd0487b2064abdd452006fdcfb8d6896d (patch) | |
tree | d40e7acbdb63a720afba267d50806d735f525f11 /engines/startrek/textbox.cpp | |
parent | 2b6d58cbb202a01c99bc0d6c2318802591ac7492 (diff) | |
download | scummvm-rg350-878675cbd0487b2064abdd452006fdcfb8d6896d.tar.gz scummvm-rg350-878675cbd0487b2064abdd452006fdcfb8d6896d.tar.bz2 scummvm-rg350-878675cbd0487b2064abdd452006fdcfb8d6896d.zip |
STARTREK: Simplify screen name code and add the "actions" debug command
- The screen name and map name code have been merged and simplified
- Some usage of SharedPtr has been adapted
- Duplicate code for loading the room map has been merged
- The "actions" command has been imported from the tools code
- Cleanup
Diffstat (limited to 'engines/startrek/textbox.cpp')
-rw-r--r-- | engines/startrek/textbox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/startrek/textbox.cpp b/engines/startrek/textbox.cpp index a503c42a81..33f2f235cf 100644 --- a/engines/startrek/textbox.cpp +++ b/engines/startrek/textbox.cpp @@ -159,7 +159,7 @@ void StarTrekEngine::getTextboxHeader(String *headerTextOutput, String speakerTe } String StarTrekEngine::readTextFromRdf(int choiceIndex, uintptr data, String *headerTextOutput) { - SharedPtr<Room> room = getRoom(); + Room *room = getRoom(); int rdfVar = (size_t)data; |