X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=dosdemo;a=blobdiff_plain;f=src%2Ftunnel.c;h=56d079370c9e640e31098ad3ff3f84d77cf7f396;hp=d10c691379f7debc88698e0737fee7e1899e5be9;hb=5f474fafc7e6a051f1d6809e1000894a5887c742;hpb=b326ec9a1deb7086652fae05bb241ecc093b736f 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