(svn r19738) -Fix: MSVC 64 bits compile warnings

This commit is contained in:
rubidium
2010-04-29 18:28:24 +00:00
parent 247d1aa395
commit ac9af8e1e1
2 changed files with 2 additions and 2 deletions

View File

@@ -73,7 +73,7 @@ void MoveWaypointsToBaseStations()
if (wp->delete_ctr != 0) continue; // The waypoint was deleted
/* Waypoint indices were not added to the map prior to this. */
_m[wp->xy].m2 = wp->index;
_m[wp->xy].m2 = (StationID)wp->index;
if (HasBit(_m[wp->xy].m3, 4)) {
wp->spec = GetCustomStationSpec(STAT_CLASS_WAYP, _m[wp->xy].m4 + 1);