diff options
-rw-r--r-- | config.h | 1 | ||||
-rw-r--r-- | player.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -42,6 +42,7 @@ #define player_health 8 #define player_special_hits 4 #define player_hurt_freeze 4 +#define player_inv_frames 50 #define enemy_inv_frames 8 #define enemy_demon_move_force 32 @@ -170,7 +170,7 @@ void update_player_hurt(Player* p, World* w) { p->hp -= dz->hp; p->vx -= dz->vx; p->vy -= dz->vy; - p->inv = enemy_inv_frames; + p->inv = player_inv_frames; w->freeze = player_hurt_freeze; return; } |