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…
Add table
Add a link
Reference in a new issue