mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
(svn r11224) -Fix: GRM for cargos has registration entries for both cargo IDs and cargo bitmasks, not only cargo IDs.
This commit is contained in:
parent
69bb22b919
commit
1bf8d64eb8
@ -4060,7 +4060,8 @@ static void ParamSet(byte *buf, int len)
|
||||
break;
|
||||
|
||||
case 0x0B: // Cargo
|
||||
src1 = PerformGRM(_grm_cargos, NUM_CARGO, count, op, target, "cargos");
|
||||
/* There are two ranges: one for cargo IDs and one for cargo bitmasks */
|
||||
src1 = PerformGRM(_grm_cargos, NUM_CARGO * 2, count, op, target, "cargos");
|
||||
if (_skip_sprites == -1) return;
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user