projects
/
dosdemo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b326ec9
)
changed the tunnel rotation to match the smaller texture
author
John Tsiombikas
<nuclear@mutantstargoat.com>
Tue, 4 Oct 2016 16:05:36 +0000
(19:05 +0300)
committer
John Tsiombikas
<nuclear@mutantstargoat.com>
Tue, 4 Oct 2016 16:05:36 +0000
(19:05 +0300)
src/tunnel.c
patch
|
blob
|
history
diff --git
a/src/tunnel.c
b/src/tunnel.c
index
d10c691
..
56d0793
100644
(file)
--- 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<num_lines; i++) {