players.c
changeset 2070 47b1f29d4671
parent 1977 37bbebf94434
child 2092 6b0d340ecc42
equal deleted inserted replaced
2069:30294fb11fc1 2070:47b1f29d4671
   260 			SetDParam(0, p->name_1);
   260 			SetDParam(0, p->name_1);
   261 			SetDParam(1, p->name_2);
   261 			SetDParam(1, p->name_2);
   262 		}
   262 		}
   263 	} else {
   263 	} else {
   264 		Town *t = ClosestTownFromTile(tile, (uint)-1);
   264 		Town *t = ClosestTownFromTile(tile, (uint)-1);
   265 		SetDParam(0, t->townnametype);
   265 		SetDParam(0, STR_TOWN);
   266 		SetDParam(1, t->townnameparts);
   266 		SetDParam(1, t->index);
   267 	}
   267 	}
   268 }
   268 }
   269 
   269 
   270 
   270 
   271 bool CheckOwnership(byte owner)
   271 bool CheckOwnership(byte owner)