Skip to content
Browse files

- do not set use type on font texture if it is used as a sprite

Setting texture use type in this case would break actors that use the corresponding sprite
  • Loading branch information...
alexey-lysiuk committed Aug 3, 2019
1 parent ff4bc8b commit c05ef397181d480951175880ef43c17106a132aa
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/gamedata/fonts/specialfont.cpp
@@ -102,7 +102,10 @@ FSpecialFont::FSpecialFont (const char *name, int first, int count, FTexture **l

if (charlumps[i] != nullptr)
// If texture is used as a sprite, do not set use type
// Changing it would break actors that use this sprite
if (charlumps[i]->GetUseType() != ETextureType::Sprite)

Chars[i].OriginalPic = charlumps[i];
if (!noTranslate)

0 comments on commit c05ef39

Please sign in to comment.
You can’t perform that action at this time.