On 1/4/07, Giel van Schijndel <[EMAIL PROTECTED]> wrote:

Author: muggenhor
Date: Thu Jan  4 19:41:24 2007
New Revision: 599

- *IMPORTANT*: commented the definition of MEMORY_SET out (line 38 mem.c),
this might break code that expects freshly malloc'ed memory to be
pre-initialized, if you experience any problems due to commenting this out
please say so on the mailinglists!


the latest rev + my changes(quite alot changes,though have little to do with
mem),the game crashed when trying to start 'new campaign'

the crash is pointing to blkAlloc function line 372
'pAlloc = ((UBYTE *)(pAlloc) + sizeof(MEM_NODE) + SAFETY_ZONE_SIZE);'

after

'if MEMORY_SET
memset((UBYTE *)(psNode) + sizeof(MEM_NODE) + SAFETY_ZONE_SIZE,
  INITIALISE_BYTE, allocSize);
endif'

in block.c,so I think it might have something to do with the change you
mentioned above,though re-enable #define MEMORY_SET TRUE in mem.c didnt fix
this problem either.

I'll try to use an older version of block.c,mem.c,mem.h and see if that
fixes my problem.
_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev

Reply via email to