diff --git a/zone/client_mods.cpp b/zone/client_mods.cpp index 934f6c55a..d192c57c6 100644 --- a/zone/client_mods.cpp +++ b/zone/client_mods.cpp @@ -288,7 +288,7 @@ int64 Client::CalcHPRegen(bool bCombat) if (!bCombat && CanFastRegen() && (IsSitting() || CanMedOnHorse())) { auto max_hp = GetMaxHP(); - int fast_regen = 6 * (max_hp / zone->newzone_data.fast_regen_hp); + int64 fast_regen = 6 * (max_hp / (zone ? zone->newzone_data.fast_regen_hp : 180)); if (base < fast_regen) // weird, but what the client is doing base = fast_regen; }