(svn r9709) -Fix (r9706): Larger towns use t->larger_towns, not the town index.

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
maedhros 17 years ago
parent e5a314399a
commit ac0c371d5a

@ -21,7 +21,7 @@ uint32 TownGetVariable(byte variable, byte parameter, bool *available, const Tow
/* 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 */

Loading…
Cancel
Save