(svn r8969) -Codechange: rework of the player face bits.
- introduce a new format (with backward compatability) that is more clear and needs a much simpler face drawer - replace tons of ifs/switches/magic numbers by table lookups
This commit is contained in:
@@ -55,6 +55,7 @@
|
||||
#include "clear_map.h"
|
||||
#include "fontcache.h"
|
||||
#include "newgrf_config.h"
|
||||
#include "player_face.h"
|
||||
|
||||
#include "bridge_map.h"
|
||||
#include "clear_map.h"
|
||||
@@ -1817,6 +1818,8 @@ bool AfterLoadGame(void)
|
||||
}
|
||||
}
|
||||
|
||||
if (CheckSavegameVersion(49)) FOR_ALL_PLAYERS(p) p->face = ConvertFromOldPlayerFace(p->face);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user