Changeset - r6522:78d7ef152245
[Not reviewed]
master
0 1 0
maedhros - 17 years ago 2007-04-21 08:51:42
maedhros@openttd.org
(svn r9709) -Fix (r9706): Larger towns use t->larger_towns, not the town index.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/newgrf_town.cpp
Show inline comments
 
@@ -21,7 +21,7 @@ uint32 TownGetVariable(byte variable, by
 
		/* Larger towns */
 
		case 0x40:
 
			if (_patches.larger_towns == 0) return 2;
 
			if (t->index % _patches.larger_towns == 0) return 1;
 
			if (t->larger_town) return 1;
 
			return 0;
 

	
 
		/* Town index */
0 comments (0 inline, 0 general)