- added the two missing subtitle texts for Strife.

These are identical to the actual logs but it turned out that these texts need to be separate to avoid misbehavior.
This also disables the subtitles for the teaser because its log numbers collide with the full game.
This commit is contained in:
Christoph Oelckers 2019-07-17 20:02:43 +02:00
commit b37acef0c9
2 changed files with 10 additions and 7 deletions

View file

@ -441,6 +441,8 @@ void player_t::SetSubtitle(int num)
{
char lumpname[36];
if (gameinfo.flags & GI_SHAREWARE) return; // Subtitles are only for the full game.
// Do we have a subtitle for this log entry's voice file?
mysnprintf(lumpname, countof(lumpname), "$TXT_SUB_LOG%d", num);
auto text = GStrings.GetLanguageString(lumpname+1, FStringTable::default_table);