From bc3ed56fcb57da03b3bba4d7a4591535e0e3d44a Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Mon, 30 Jul 2007 00:44:49 +0000 Subject: Make the z_native "out of memory" error message match the normal z_zone one. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 941 --- src/z_native.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/z_native.c b/src/z_native.c index 9f4c8b37..199c9426 100644 --- a/src/z_native.c +++ b/src/z_native.c @@ -264,7 +264,7 @@ void *Z_Malloc(int size, int tag, void *user) { if (!ClearCache(sizeof(memblock_t) + size)) { - I_Error("Out of memory!"); + I_Error("Z_Malloc: failed on allocation of %i bytes", size); } } } -- cgit v1.2.3