From c2045c928de822200317faab836cbdbf37fb61c0 Mon Sep 17 00:00:00 2001 From: kervala Date: Wed, 13 Nov 2013 21:52:21 +0100 Subject: [PATCH] Fixed: #77 crash when using lua:parseInterfaceFromString() (a big thanks to nimetu for the fix !) --- code/nel/src/gui/interface_parser.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/nel/src/gui/interface_parser.cpp b/code/nel/src/gui/interface_parser.cpp index 01e47bb80..2bc1a70dd 100644 --- a/code/nel/src/gui/interface_parser.cpp +++ b/code/nel/src/gui/interface_parser.cpp @@ -2051,10 +2051,10 @@ namespace NLGUI // Clear all structures used only for init - //NLMISC::contReset (_ParentPositionsMap); - //NLMISC::contReset (_ParentSizesMap); - //NLMISC::contReset (_ParentSizesMaxMap); - //NLMISC::contReset (_LuaClassAssociation); + NLMISC::contReset (_ParentPositionsMap); + NLMISC::contReset (_ParentSizesMap); + NLMISC::contReset (_ParentSizesMaxMap); + NLMISC::contReset (_LuaClassAssociation); return true; }