(svn r11195) -Fix: creation chances for industries during gameplay and during map generation were swapped.
authorrubidium
Tue, 02 Oct 2007 18:43:17 +0000
changeset 8160 2a2e46b8fba2
parent 8159 7a36d78b2343
child 8161 1e10c2d0811c
(svn r11195) -Fix: creation chances for industries during gameplay and during map generation were swapped.
src/newgrf.cpp
--- a/src/newgrf.cpp	Tue Oct 02 17:48:17 2007 +0000
+++ b/src/newgrf.cpp	Tue Oct 02 18:43:17 2007 +0000
@@ -2008,11 +2008,11 @@
 				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