Skip to content

Commit

Permalink
- added the two missing subtitle texts for Strife.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
coelckers committed Jul 17, 2019
1 parent 9603a09 commit b37acef
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
2 changes: 2 additions & 0 deletions src/playsim/p_user.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit b37acef

Please sign in to comment.