From: John Tsiombikas Date: Tue, 4 Oct 2016 16:05:36 +0000 (+0300) Subject: changed the tunnel rotation to match the smaller texture X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=dosdemo;a=commitdiff_plain;h=5f474fafc7e6a051f1d6809e1000894a5887c742 changed the tunnel rotation to match the smaller texture --- 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