- disable Tanner shadow in Multiplayer

This commit is contained in:
Ilya Shurumov 2021-05-29 17:51:10 +06:00 committed by InspirationByte
parent aacbdcb6ad
commit b714561b6f

View File

@ -1815,11 +1815,7 @@ void TannerShadow(PEDESTRIAN* pDrawingPed, VECTOR* pPedPos, SVECTOR* pLightPos,
SVECTOR ca;
VECTOR myVector;
int z0;
int z1;
int z2;
int z3;
int z0, z1, z2, z3;
int i;
int cn, sn;
int vx, vz;
@ -1831,6 +1827,9 @@ void TannerShadow(PEDESTRIAN* pDrawingPed, VECTOR* pPedPos, SVECTOR* pLightPos,
return;
#endif
if (NumPlayers > 1)
return;
memset((u_char*)&d, 0, sizeof(VECTOR));
SetDefDrawEnv(&drEnv, 0, current->draw.clip.y, 320, 256);