aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.h1
-rw-r--r--enemy.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/config.h b/config.h
index 1d89c17..5ab7597 100644
--- a/config.h
+++ b/config.h
@@ -50,5 +50,6 @@
#define enemy_demon_jump_force (5 << fbits)
#define enemy_slash_damage 1
#define enemy_knockback (4 << fbits)
+#define enemy_hurt_freeze 1
#endif
diff --git a/enemy.c b/enemy.c
index 1e46cb1..1e5a4d2 100644
--- a/enemy.c
+++ b/enemy.c
@@ -98,6 +98,7 @@ void update_enemy_hurt(Enemy* e, World* w) {
e->vy -= dz->vy;
e->inv = enemy_inv_frames;
w->player.charge++;
+ w->freeze += enemy_hurt_freeze;
}
}
}