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

This commit is contained in:
maedhros 2007-04-21 08:51:42 +00:00
parent e5a314399a
commit ac0c371d5a

View File

@ -21,7 +21,7 @@ uint32 TownGetVariable(byte variable, byte parameter, bool *available, const Tow
/* Larger towns */ /* Larger towns */
case 0x40: case 0x40:
if (_patches.larger_towns == 0) return 2; if (_patches.larger_towns == 0) return 2;
if (t->index % _patches.larger_towns == 0) return 1; if (t->larger_town) return 1;
return 0; return 0;
/* Town index */ /* Town index */