src/openttd.cpp
changeset 10153 4d982a782aa8
parent 10152 5faa68713d8c
child 10158 8f570dcb0997
equal deleted inserted replaced
10152:5faa68713d8c 10153:4d982a782aa8
  1362 
  1362 
  1363 		Waypoint *wp;
  1363 		Waypoint *wp;
  1364 		FOR_ALL_WAYPOINTS(wp) {
  1364 		FOR_ALL_WAYPOINTS(wp) {
  1365 			wp->name = CopyFromOldName(wp->string);
  1365 			wp->name = CopyFromOldName(wp->string);
  1366 			wp->string = STR_EMPTY;
  1366 			wp->string = STR_EMPTY;
       
  1367 		}
       
  1368 
       
  1369 		for (uint i = 0; i < GetSignPoolSize(); i++) {
       
  1370 			/* invalid signs are determined by si->ower == INVALID_PLAYER now */
       
  1371 			Sign *si = GetSign(i);
       
  1372 			if (!si->IsValid() && si->name != NULL) {
       
  1373 				si->owner = OWNER_NONE;
       
  1374 			}
  1367 		}
  1375 		}
  1368 	}
  1376 	}
  1369 
  1377 
  1370 	/* From this point the old names array is cleared. */
  1378 	/* From this point the old names array is cleared. */
  1371 	ResetOldNames();
  1379 	ResetOldNames();