From a2e191905c27719f8bf53fafe56a321ec60cf3b2 Mon Sep 17 00:00:00 2001 From: dgelessus Date: Sun, 19 Mar 2023 23:16:31 +0100 Subject: [PATCH] Complain more loudly when something tries to load a nonexistant page --- Sources/Plasma/NucleusLib/pnMessage/plClientMsg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Plasma/NucleusLib/pnMessage/plClientMsg.cpp b/Sources/Plasma/NucleusLib/pnMessage/plClientMsg.cpp index 6027608e9b..7e1e36d1c6 100644 --- a/Sources/Plasma/NucleusLib/pnMessage/plClientMsg.cpp +++ b/Sources/Plasma/NucleusLib/pnMessage/plClientMsg.cpp @@ -55,7 +55,7 @@ void plClientMsg::AddRoomLoc(const plLocation& loc) if (loc.IsValid()) fRoomLocs.emplace_back(loc); else - hsStatusMessage("Trying to load an invalid room, ignoring"); + hsAssert(false, "Trying to load an invalid room"); } void plClientMsg::Read(hsStream* stream, hsResMgr* mgr)