mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2025-01-26 18:40:08 +01:00
zone; revert removing clean check
This commit is contained in:
parent
bb48e5209e
commit
5145b1956c
@ -83,7 +83,7 @@ void *_Mem_Alloc( byte *poolptr, size_t size, qboolean clear, const char *filena
|
|||||||
mem->prev = NULL;
|
mem->prev = NULL;
|
||||||
pool->chain = mem;
|
pool->chain = mem;
|
||||||
if( mem->next ) mem->next->prev = mem;
|
if( mem->next ) mem->next->prev = mem;
|
||||||
//if( clear )
|
if( clear )
|
||||||
memset((void *)((byte *)mem + sizeof( memheader_t )), 0, mem->size );
|
memset((void *)((byte *)mem + sizeof( memheader_t )), 0, mem->size );
|
||||||
|
|
||||||
return (void *)((byte *)mem + sizeof( memheader_t ));
|
return (void *)((byte *)mem + sizeof( memheader_t ));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user