Voodoo dolls should have blob shadows.

This commit is contained in:
Mari the Deer 2023-08-17 20:19:55 +02:00
commit 3c6f45d38c
2 changed files with 4 additions and 2 deletions

View file

@ -2,6 +2,7 @@
Class SWWMVoodooDoll : PlayerPawn
{
Vector3 lastvel;
SWWMShadow myshadow;
override String GetObituary( Actor victim, Actor inflictor, Name mod, bool playerattack )
{
@ -11,6 +12,7 @@ Class SWWMVoodooDoll : PlayerPawn
override void Tick()
{
Super.Tick();
if ( !myshadow ) myshadow = SWWMShadow.Track(self);
// mikoportal compat
if ( !(pos.z ~== -32768) ) return;
if ( vel.length() <= lastvel.length() )