Skip to content

Commit f776fca

Browse files
committed
do not reset depth on empty desciptions
1 parent c6a94fe commit f776fca

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/game/client/components/voting.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,8 @@ void CVoting::AddOption(const char *pDescription)
193193

194194
pOption->m_IsSubheader = Depth;
195195

196-
if(!*pDescription)
197-
pOption->m_Depth = 0;
196+
// if(!*pDescription)
197+
// pOption->m_Depth = 0;
198198
// end of 0.7 depth code
199199

200200
str_copy(pOption->m_aDescription, pDescription);

0 commit comments

Comments
 (0)