(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
1 changed files with 1 additions and 1 deletions

View File

@ -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 */