- revert adding in the sprite/frame support for visual thinkers

This commit is contained in:
Rachael Alexanderson 2024-11-13 16:16:36 -05:00
commit ccd38afbcb
No known key found for this signature in database
GPG key ID: 26A8ACCE97115EE0
5 changed files with 5 additions and 28 deletions

View file

@ -1006,7 +1006,6 @@ void DVisualThinker::Construct()
PT.subsector = nullptr;
cursector = nullptr;
PT.color = 0xffffff;
sprite = -1;
AnimatedTexture.SetNull();
}
@ -1111,7 +1110,7 @@ void DVisualThinker::Tick()
return;
// There won't be a standard particle for this, it's only for graphics.
if (!PT.texture.isValid() && (sprite == -1))
if (!PT.texture.isValid())
{
Printf("No valid texture, destroyed");
Destroy();
@ -1326,5 +1325,3 @@ DEFINE_FIELD(DVisualThinker, PrevRoll);
DEFINE_FIELD(DVisualThinker, Translation);
DEFINE_FIELD(DVisualThinker, LightLevel);
DEFINE_FIELD(DVisualThinker, cursector);
DEFINE_FIELD(DVisualThinker, sprite);
DEFINE_FIELD(DVisualThinker, frame);