- Duke: Do not call Initialize() for player actors.

The base function is doing things not meant for players, and we do not have a proper class yet that can deal with it.
This commit is contained in:
Christoph Oelckers 2023-04-09 08:15:02 +02:00
parent 7554808104
commit 50d406be4e

View file

@ -857,7 +857,7 @@ DDukeActor* spawninit(DDukeActor* actj, DDukeActor* act, TArray<DDukeActor*>* ac
ChangeActorStat(act, STAT_MISC);
else
ChangeActorStat(act, STAT_PLAYER);
CallInitialize(act);
//CallInitialize(act);
}
return act;
}