summaryrefslogtreecommitdiff
path: root/src/game/assets.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/assets.cpp')
-rw-r--r--src/game/assets.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/assets.cpp b/src/game/assets.cpp
index b9b1289..2a91a96 100644
--- a/src/game/assets.cpp
+++ b/src/game/assets.cpp
@@ -11,12 +11,13 @@ void load(void)
human.body_idle.load("assets/units/human/body_idle", 2, 2, 2);
human.legs_idle.load("assets/units/human/legs_idle", 2, 2);
human.legs_walking.load("assets/units/human/legs_walking", 2, 2);
+ human.dead.load("assets/units/human/dead_", 1);
alien.idle.load("assets/units/alien/idle", 2, 2, 2);
alien.walking.load("assets/units/alien/walking", 2, 2, 2);
world::register_tile(TILE_DIRT, 0);
- world::register_tile(TILE_WALL, 1);
+ world::register_tile(TILE_WALL, CF_SOLID | CF_HUMAN);
render::register_tile(TILE_DIRT, "assets/tiles/dirt.png");
render::register_tile(TILE_WALL, "assets/tiles/wall.png");
}