aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--player.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/player.c b/player.c
index 6d8f938..b1aaaee 100644
--- a/player.c
+++ b/player.c
@@ -191,5 +191,6 @@ void update_player(
void ren_player(const Player* p, struct Renderer* r) {
const Bitmap* b = get_bitmap(asset_id_guy_img);
+ if (p->inv & 5) return;
ren_map(r, p->x >> fbits, p->y >> fbits, &p->rect, b);
}