fixed a crashbug when MAPLIST_FLAG_MAPSFOLDER was not present and all fallbacks failed

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401753
This commit is contained in:
David Anderson 2007-12-02 16:47:10 +00:00
parent 98b74c2e21
commit 86a9369c04

View File

@ -328,7 +328,7 @@ public:
CellArray *UpdateMapList(CellArray *pUseArray, const char *name, int *pSerial, unsigned int flags)
{
int change_serial;
CellArray *pNewArray;
CellArray *pNewArray = NULL;
bool success, free_new_array;
free_new_array = false;