--- deliantra/server/common/loader.l 2006/06/26 21:46:04 1.5 +++ deliantra/server/common/loader.l 2006/07/01 21:06:06 1.6 @@ -1649,17 +1649,11 @@ */ static int already_run = 0; static int flag_lens[NUM_FLAGS]; - static char buf2[HUGE_BUF]; - static char buf[HUGE_BUF]; - char* fastbuf; + char buf2[4096]; // / was HUFE_BUF, which was hugely incorrect, as is this value, but much less so + static char buf[128*1024]; // < the assumption is that every object always fits. fixing this bug, however + char* fastbuf; // \ requires a large rewrite of the code, so its left to the next total rewrite. int tmp; int i; -#if 0 -/*Memory polluting code. Should help detect problems, very slow*/ - for (i=0;i