Skip to content

Commit

Permalink
DEVTOOLS: Fix writing common phrases in create_titanic
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Dec 17, 2016
1 parent e40e9e2 commit 01c4267
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion devtools/create_titanic/create_titanic_dat.cpp
Expand Up @@ -1091,8 +1091,9 @@ void writeStarfieldPoints2() {
}

void writePhrases(const char *name, const CommonPhrase *phrases) {
outputFile.seek(dataOffset);

for (uint idx = 0; phrases->_str; ++idx, ++phrases) {
outputFile.seek(dataOffset + idx * 4);
outputFile.writeString(phrases->_str);
outputFile.writeLong(phrases->_dialogueId);
outputFile.writeLong(phrases->_roomNum);
Expand Down

0 comments on commit 01c4267

Please sign in to comment.