X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ftunnel.c;h=56d079370c9e640e31098ad3ff3f84d77cf7f396;hb=5f474fafc7e6a051f1d6809e1000894a5887c742;hp=d10c691379f7debc88698e0737fee7e1899e5be9;hpb=0945eeeef21fe85f9a592bfc2e41069a7894b08b;p=dosdemo diff --git a/src/tunnel.c b/src/tunnel.c index d10c691..56d0793 100644 --- a/src/tunnel.c +++ b/src/tunnel.c @@ -220,7 +220,7 @@ static void draw_tunnel_range(unsigned short *pix, int xoffs, int yoffs, int sta unsigned int *tmap = tunnel_map + (starty + yoffs) * vxsz + xoffs; unsigned char *fog = tunnel_fog + (starty + yoffs) * vxsz + xoffs; - long toffs = tm / 4; + long toffs = tm / 8; unsigned int *pixels = (unsigned int*)pix + starty * (fb_width >> 1); for(i=0; i