Skip to content

Commit cc9daa6

Browse files
committed
- disable Tanner shadow in Web game
1 parent 104e5ff commit cc9daa6

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src_rebuild/Game/C/motion_c.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1827,6 +1827,11 @@ void TannerShadow(PEDESTRIAN* pDrawingPed, VECTOR* pPedPos, SVECTOR* pLightPos,
18271827
return;
18281828
#endif
18291829

1830+
#ifdef __EMSCRIPTEN__
1831+
// since any WebGL isn't able to make it drawn...
1832+
return;
1833+
#endif
1834+
18301835
if (NumPlayers > 1)
18311836
return;
18321837

0 commit comments

Comments
 (0)