summaryrefslogtreecommitdiff
path: root/grfspecial.c
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2004-11-14 20:50:38 +0000
committerdarkvater <darkvater@openttd.org>2004-11-14 20:50:38 +0000
commitec434b208e6e67f98f7795f1a9d6154df888c6b2 (patch)
treeb22ee0fd86834db94fcab89aec21e066ec29e70e /grfspecial.c
parentc2193ce1a8f1e9acdada4675222d290fcf6640b7 (diff)
downloadopenttd-ec434b208e6e67f98f7795f1a9d6154df888c6b2.tar.xz
(svn r610) -newgrf: Support for some basic deterministical spritegroups regarding stations. Waypoints look changes based on year now :^) (pasky).
Diffstat (limited to 'grfspecial.c')
-rw-r--r--grfspecial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/grfspecial.c b/grfspecial.c
index 3afda1d81..4498d26fe 100644
--- a/grfspecial.c
+++ b/grfspecial.c
@@ -1112,8 +1112,8 @@ static void NewSpriteGroup(byte *buf, int len)
/* XXX: If multiple surreal sets attach a surreal
* set this way, we are in trouble. */
dg->ranges[i].group = _cur_grffile->spritegroups[setid];
- dg->ranges[i].range_low = grf_load_byte(&buf);
- dg->ranges[i].range_high = grf_load_byte(&buf);
+ dg->ranges[i].low = grf_load_byte(&buf);
+ dg->ranges[i].high = grf_load_byte(&buf);
}
dg->default_group = malloc(sizeof(*dg->default_group));