Skip to content

Commit

Permalink
Complain more loudly when something tries to load a nonexistant page
Browse files Browse the repository at this point in the history
  • Loading branch information
dgelessus committed Mar 19, 2023
1 parent 84121fd commit a2e1919
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Plasma/NucleusLib/pnMessage/plClientMsg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a2e1919

Please sign in to comment.