mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(svn r26069) -Fix: missing break in NewGRF object handling
This commit is contained in:
parent
9e216a688f
commit
cf130ce9d8
@ -2847,6 +2847,7 @@ static ChangeInfoResult CargoChangeInfo(uint cid, int numinfo, int prop, ByteRea
|
|||||||
case 0x0B: cs->town_effect = TE_FOOD; break;
|
case 0x0B: cs->town_effect = TE_FOOD; break;
|
||||||
default:
|
default:
|
||||||
grfmsg(1, "CargoChangeInfo: Unknown town growth substitute value %d, setting to none.", substitute_type);
|
grfmsg(1, "CargoChangeInfo: Unknown town growth substitute value %d, setting to none.", substitute_type);
|
||||||
|
/* FALL THROUGH */
|
||||||
case 0xFF: cs->town_effect = TE_NONE; break;
|
case 0xFF: cs->town_effect = TE_NONE; break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
@ -3737,6 +3738,7 @@ static ChangeInfoResult IgnoreObjectProperty(uint prop, ByteReader *buf)
|
|||||||
case 0x16:
|
case 0x16:
|
||||||
case 0x17:
|
case 0x17:
|
||||||
buf->ReadByte();
|
buf->ReadByte();
|
||||||
|
break;
|
||||||
|
|
||||||
case 0x09:
|
case 0x09:
|
||||||
case 0x0A:
|
case 0x0A:
|
||||||
|
Loading…
Reference in New Issue
Block a user