town_cmd.c
changeset 1304 6460f4c8600e
parent 1280 33a251c30758
child 1309 4403a69da4f8
equal deleted inserted replaced
1303:14334a84dcbf 1304:6460f4c8600e
   877 
   877 
   878 		FOR_ALL_TOWNS(t2) {
   878 		FOR_ALL_TOWNS(t2) {
   879 			if (t2->xy != 0) {
   879 			if (t2->xy != 0) {
   880 				SetDParam(0, t2->townnameparts);
   880 				SetDParam(0, t2->townnameparts);
   881 				GetString(buf2, t2->townnametype);
   881 				GetString(buf2, t2->townnametype);
   882 				if (str_eq(buf1, buf2))
   882 				if (strcmp(buf1, buf2) == 0)
   883 					goto restart;
   883 					goto restart;
   884 			}
   884 			}
   885 		}
   885 		}
   886 		t1->townnameparts = r;
   886 		t1->townnameparts = r;
   887 
   887