forked from mirror/OpenTTD
(svn r610) -newgrf: Support for some basic deterministical spritegroups regarding stations. Waypoints look changes based on year now :^) (pasky).
This commit is contained in:
@@ -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));
|
||||
|
Reference in New Issue
Block a user