fp: Draw health bars fro mobs, fix projectile origin

This commit is contained in:
2023-10-08 17:25:08 +11:00
parent ecfe730744
commit 17947c7b69
4 changed files with 27 additions and 9 deletions
+1 -1
View File
@@ -226,7 +226,7 @@ static FP_GameEntity *FP_Game_MakeEntityPointerFV(FP_Game *game, DQN_FMT_STRING_
result->action.sprite_alpha = 1.f;
result->stamina_cap = 93;
result->hp_cap = FP_DEFAULT_DAMAGE;
result->hp_cap = DQN_CAST(uint16_t)(FP_DEFAULT_DAMAGE * .8f);
result->hp = result->hp_cap;
result->inventory.airports_base_price = 100;