DEVTOOLS: Fix writing common phrases in create_titanic
This commit is contained in:
parent
e40e9e2ffc
commit
01c4267270
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue