- revert adding in the sprite/frame support for visual thinkers
This commit is contained in:
parent
a0c1f5b1b7
commit
ccd38afbcb
5 changed files with 5 additions and 28 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue