mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-23 04:33:09 +00:00
XEEN: Fix loading of desert map
This commit is contained in:
parent
3cc12c3da2
commit
22d1a6496c
@ -1205,7 +1205,7 @@ void Map::load(int mapId) {
|
||||
|
||||
if (_mazeData[0]._wallTypes[i] != 0) {
|
||||
_wallSprites._surfaces[i].load(Common::String::format("%s.wal",
|
||||
Res.SURFACE_TYPE_NAMES[_mazeData[0]._wallTypes[i]]));
|
||||
Res.OUTDOORS_WALL_TYPES[_mazeData[0]._wallTypes[i]]));
|
||||
}
|
||||
|
||||
_surfaceSprites[i].clear();
|
||||
|
@ -112,9 +112,9 @@ const char *const Resources::TERRAIN_TYPES[6] = {
|
||||
"town", "cave", "towr", "cstl", "dung", "scfi"
|
||||
};
|
||||
|
||||
const char *const Resources::SURFACE_TYPE_NAMES[15] = {
|
||||
nullptr, "mount", "ltree", "dtree", "grass", "snotree", "snomnt",
|
||||
"dedltree", "mount", "lavamnt", "palm", "dmount", "dedltree",
|
||||
const char *const Resources::OUTDOORS_WALL_TYPES[16] = {
|
||||
nullptr, "mount", "ltree", "dtree", "grass", "snotree", "dsnotree",
|
||||
"snomnt", "dedltree", "mount", "lavamnt", "palm", "dmount", "dedltree",
|
||||
"dedltree", "dedltree"
|
||||
};
|
||||
|
||||
|
@ -50,7 +50,7 @@ public:
|
||||
static const char *const IN_NO_CONDITION;
|
||||
static const char *const NOTHING_HERE;
|
||||
static const char *const TERRAIN_TYPES[6];
|
||||
static const char *const SURFACE_TYPE_NAMES[15];
|
||||
static const char *const OUTDOORS_WALL_TYPES[16];
|
||||
static const char *const SURFACE_NAMES[16];
|
||||
static const char *const WHO_ACTIONS[32];
|
||||
static const char *const WHO_WILL_ACTIONS[4];
|
||||
|
Loading…
x
Reference in New Issue
Block a user