diff options
-rw-r--r-- | engines/m4/converse.cpp | 4 | ||||
-rw-r--r-- | engines/m4/converse.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/m4/converse.cpp b/engines/m4/converse.cpp index 0e10e5e89d..1a0e2e8d3b 100644 --- a/engines/m4/converse.cpp +++ b/engines/m4/converse.cpp @@ -950,7 +950,7 @@ void Converse::loadConversationMads(const char *convName) { for (j = 0; j < _convNodes[i]->entryCount; j++) { debugCN(kDebugConversations, "*** Node %i entry %i data size %i\n", i, j, _convNodes[i]->entries[j]->size); debugCN(kDebugConversations, "Entry ID %i, text %s\n", _convNodes[i]->entries[j]->id, _convNodes[i]->entries[j]->text); - Common::SubReadStream *entryStream = new Common::SubReadStream(convS, _convNodes[i]->entries[j]->size); + Common::ReadStream *entryStream = new Common::SubReadStream(convS, _convNodes[i]->entries[j]->size); readConvEntryActions(entryStream, _convNodes[i]->entries[j]); delete entryStream; debugCN(kDebugConversations, "--------------------\n"); @@ -960,7 +960,7 @@ void Converse::loadConversationMads(const char *convName) { delete convS; } -void Converse::readConvEntryActions(Common::SubReadStream *convS, ConvEntry *curEntry) { +void Converse::readConvEntryActions(Common::ReadStream *convS, ConvEntry *curEntry) { uint8 chunk; uint8 type; // 255: normal, 11: conditional uint8 hasText1, hasText2; diff --git a/engines/m4/converse.h b/engines/m4/converse.h index 609711b10f..67ecf20424 100644 --- a/engines/m4/converse.h +++ b/engines/m4/converse.h @@ -191,7 +191,7 @@ private: void loadConversation(const char *convName); void loadConversationMads(const char *convName); - void readConvEntryActions(Common::SubReadStream *convS, ConvEntry *curEntry); + void readConvEntryActions(Common::ReadStream *convS, ConvEntry *curEntry); void setEntryInfo(int32 offset, EntryType type, int32 nodeIndex, int32 entryIndex); }; |