MT_SHADOW: copy shadowcolor from followed object

This commit is contained in:
James R. 2023-09-17 19:57:03 -07:00
parent fac5abf69e
commit eb477365a4

View file

@ -24,6 +24,7 @@ struct Shadow : mobj_t
void move() void move()
{ {
whiteshadow = follow()->whiteshadow; whiteshadow = follow()->whiteshadow;
shadowcolor = follow()->shadowcolor;
P_MoveOrigin(this, follow()->x, follow()->y, P_GetMobjFeet(follow())); P_MoveOrigin(this, follow()->x, follow()->y, P_GetMobjFeet(follow()));
} }