diff --git a/engine/common/zone.c b/engine/common/zone.c index b5e55575b..ac77e2821 100644 --- a/engine/common/zone.c +++ b/engine/common/zone.c @@ -1063,7 +1063,7 @@ void *Hunk_AllocName (int size, char *name) roundup &= ~(1024*128 - 1); - if (roundup != roundupold) + if (!hunk_low_used || roundup != roundupold) if (!VirtualAlloc (hunk_base, roundup, MEM_COMMIT, PAGE_READWRITE)) { char *buf;