- Duke: do not call DukeActor's OnInitialize function for projectiles.

This is performing some incompatible setup.
This commit is contained in:
Christoph Oelckers 2023-04-15 10:53:57 +02:00
parent aad6c3da90
commit 1304577dac

View file

@ -43,6 +43,10 @@ class DukeProjectile : DukeActor
property SpawnSound: SpawnSound;
override void Initialize()
{
// do not call the parent's function here.
}
// this large batch of subsequently called virtuals is owed to the spaghetti-like implementation of the orignal moveprojectiles function.
virtual bool premoveeffect()