Skip to content

Commit cdd4ffa

Browse files
committed
Add better logging for invalid value in outlines.cpp
1 parent b10c64b commit cdd4ffa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/game/client/components/tclient/outlines.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ void COutlines::OnRender()
192192
return {g_Config.m_TcOutlineKill, g_Config.m_TcOutlineWidthKill, g_Config.m_TcOutlineColorKill};
193193
if (Type == OUTLINE_TELE)
194194
return {g_Config.m_TcOutlineTele, g_Config.m_TcOutlineWidthTele, g_Config.m_TcOutlineColorTele};
195-
dbg_assert(false, "Invalid value for Type");
195+
dbg_assert(false, "Invalid value for Type at %d %d/%d %d", x, y, m_MapDataSize.x, m_MapDataSize.y);
196196
}();
197197
// Find neighbours
198198
const bool aNeighbors[8] = {

0 commit comments

Comments
 (0)