src/openttd.cpp
changeset 6516 ee6d057b9850
parent 6501 1e95e8d993ff
child 6519 367d6f96e23f
equal deleted inserted replaced
6515:d2d05d42690f 6516:ee6d057b9850
    53 #include "genworld.h"
    53 #include "genworld.h"
    54 #include "date.h"
    54 #include "date.h"
    55 #include "clear_map.h"
    55 #include "clear_map.h"
    56 #include "fontcache.h"
    56 #include "fontcache.h"
    57 #include "newgrf_config.h"
    57 #include "newgrf_config.h"
       
    58 #include "player_face.h"
    58 
    59 
    59 #include "bridge_map.h"
    60 #include "bridge_map.h"
    60 #include "clear_map.h"
    61 #include "clear_map.h"
    61 #include "rail_map.h"
    62 #include "rail_map.h"
    62 #include "road_map.h"
    63 #include "road_map.h"
  1815 		FOR_ALL_STATIONS(st) {
  1816 		FOR_ALL_STATIONS(st) {
  1816 			if (st->IsBuoy() && IsTileOwner(st->xy, OWNER_NONE)) SetTileOwner(st->xy, OWNER_WATER);
  1817 			if (st->IsBuoy() && IsTileOwner(st->xy, OWNER_NONE)) SetTileOwner(st->xy, OWNER_WATER);
  1817 		}
  1818 		}
  1818 	}
  1819 	}
  1819 
  1820 
       
  1821 	if (CheckSavegameVersion(49)) FOR_ALL_PLAYERS(p) p->face = ConvertFromOldPlayerFace(p->face);
       
  1822 
  1820 	return true;
  1823 	return true;
  1821 }
  1824 }
  1822 
  1825 
  1823 /** Reload all NewGRF files during a running game. This is a cut-down
  1826 /** Reload all NewGRF files during a running game. This is a cut-down
  1824  * version of AfterLoadGame().
  1827  * version of AfterLoadGame().