summaryrefslogtreecommitdiff
path: root/src/newgrf.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-10-02 18:43:17 +0000
committerrubidium <rubidium@openttd.org>2007-10-02 18:43:17 +0000
commit54c7430e46fc6ccc9f0615727fa8109bfb86675a (patch)
tree933f780379517e15043aa769bdcad83efa430296 /src/newgrf.cpp
parent8c25b4575c828af45409ace10a9e63c88a7cef7e (diff)
downloadopenttd-54c7430e46fc6ccc9f0615727fa8109bfb86675a.tar.xz
(svn r11195) -Fix: creation chances for industries during gameplay and during map generation were swapped.
Diffstat (limited to 'src/newgrf.cpp')
-rw-r--r--src/newgrf.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index d51a0b134..88fdc07ae 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -2008,11 +2008,11 @@ static bool IndustriesChangeInfo(uint indid, int numinfo, int prop, byte **bufp,
break;
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;
case 0x18: // Probability during gameplay
- indsp->appear_creation[_opt.landscape] = grf_load_byte(&buf);
+ indsp->appear_ingame[_opt.landscape] = grf_load_byte(&buf);
break;
case 0x19: // Map color