mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
(svn r11195) -Fix: creation chances for industries during gameplay and during map generation were swapped.
This commit is contained in:
parent
8c25b4575c
commit
54c7430e46
@ -2008,11 +2008,11 @@ static bool IndustriesChangeInfo(uint indid, int numinfo, int prop, byte **bufp,
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 0x17: // Probability in random game
|
case 0x17: // Probability in random game
|
||||||
indsp->appear_ingame[_opt.landscape] = grf_load_byte(&buf);
|
indsp->appear_creation[_opt.landscape] = grf_load_byte(&buf);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 0x18: // Probability during gameplay
|
case 0x18: // Probability during gameplay
|
||||||
indsp->appear_creation[_opt.landscape] = grf_load_byte(&buf);
|
indsp->appear_ingame[_opt.landscape] = grf_load_byte(&buf);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 0x19: // Map color
|
case 0x19: // Map color
|
||||||
|
Loading…
Reference in New Issue
Block a user