Mercurial > mm7
diff NPC.cpp @ 2415:f4af3b203f65
LOD.cpp cleaned and search memory corrupt
author | Ritor1 |
---|---|
date | Sun, 20 Jul 2014 22:38:31 +0600 |
parents | 8cee51ce4382 |
children | 0313c761d203 |
line wrap: on
line diff
--- a/NPC.cpp Wed Jul 16 18:28:23 2014 +0600 +++ b/NPC.cpp Sun Jul 20 22:38:31 2014 +0600 @@ -1,3 +1,6 @@ +#define _CRTDBG_MAP_ALLOC +#include <stdlib.h> +#include <crtdbg.h> #define _CRT_SECURE_NO_WARNINGS #include "mm7_unsorted_subs.h" #include "texts.h" @@ -287,7 +290,7 @@ test_string=tmp_pos+1; } while ((decode_step<2)&&!break_loop); } - +//_CrtDumpMemoryLeaks(); free(pNPCTopicTXT_Raw); pNPCTopicTXT_Raw = (char *)pEvents_LOD->LoadRaw("npctopic.txt", 0); strtok(pNPCTopicTXT_Raw, "\r");