- this better have a null check...

This commit is contained in:
Christoph Oelckers 2021-04-04 13:02:26 +02:00
parent 6ebbf1288d
commit 9828cd7129

View file

@ -2556,6 +2556,8 @@ static void greenslime(DDukeActor *actor)
{
auto s5 = actor->temp_actor;
makeitfall(actor);
if (s5)
{
s5->s.xvel = 0;
int l = s5->s.ang;
@ -2579,6 +2581,7 @@ static void greenslime(DDukeActor *actor)
}
}
}
}
return;
}