mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-01-30 05:10:48 +00:00
Make the visual thinker statnum assignment check unconditional since statnum is no longer a pointer
- This fully completes this revert: ca3b0737ea
This commit is contained in:
parent
30ab960955
commit
2061caba18
1 changed files with 1 additions and 1 deletions
|
@ -427,7 +427,7 @@ public:
|
|||
DThinker *CreateThinker(PClass *cls, int statnum = STAT_DEFAULT)
|
||||
{
|
||||
DThinker *thinker = static_cast<DThinker*>(cls->CreateNew());
|
||||
if (statnum && thinker->IsKindOf(RUNTIME_CLASS(DVisualThinker)))
|
||||
if (thinker->IsKindOf(RUNTIME_CLASS(DVisualThinker)))
|
||||
{
|
||||
statnum = STAT_VISUALTHINKER;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue