SpectatorCamera vertical shift.

This commit is contained in:
Dileep V. Reddy 2024-06-30 14:39:00 -06:00
parent 68b4ed3155
commit a14c347924
No known key found for this signature in database
GPG key ID: 7E1FE104B057EBF3

View file

@ -158,7 +158,7 @@ class SpectatorCamera : Actor
if(tracer != NULL) if(tracer != NULL)
{ {
if(player != NULL) zshift = -0.5*tracer.height; if(player != NULL) zshift = -0.5*tracer.height;
else zshift = 0.5*tracer.height; else zshift = tracer.height;
} }
else if (player != NULL && player.mo != NULL) zshift = -0.5*player.mo.height; else if (player != NULL && player.mo != NULL) zshift = -0.5*player.mo.height;