mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-22 02:12:43 +01:00
- disable Tanner shadow in Multiplayer
This commit is contained in:
parent
aacbdcb6ad
commit
b714561b6f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user