From 6fd80e3117304ea28d437ade85fdca4bc95b7217 Mon Sep 17 00:00:00 2001 From: Aaron Kimbrell Date: Fri, 20 Jan 2023 01:50:46 -0600 Subject: [PATCH] Don't enable HC on minigame worlds (#959) * Fix max's ouchi * use smarter logic * fix whitespace * clone --- dGame/EntityManager.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dGame/EntityManager.cpp b/dGame/EntityManager.cpp index 67553b41..22c31291 100644 --- a/dGame/EntityManager.cpp +++ b/dGame/EntityManager.cpp @@ -69,6 +69,10 @@ void EntityManager::Initialize() { m_HardcoreUscoreEnemiesMultiplier = hcUscoreMult.empty() ? 2 : std::stoi(hcUscoreMult); auto hcDropInv = Game::config->GetValue("hardcore_dropinventory_on_death"); m_HardcoreDropinventoryOnDeath = hcDropInv.empty() ? false : (hcDropInv == "1"); + + // If cloneID is not zero, then hardcore mode is disabled + // aka minigames and props + if (dZoneManager::Instance()->GetZoneID().GetCloneID() != 0) m_HardcoreMode = false; } EntityManager::~EntityManager() {