From 423c99862f5057b13bd2f8cb277fb04d7c6222f3 Mon Sep 17 00:00:00 2001 From: schneefux Date: Mon, 18 Nov 2013 16:20:35 +0100 Subject: improved error feedback --- fxmaze.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fxmaze.c') diff --git a/fxmaze.c b/fxmaze.c index 3f9811d..15fb95a 100644 --- a/fxmaze.c +++ b/fxmaze.c @@ -161,7 +161,7 @@ int AddIn_main(int isAppli, unsigned short OptionNum) { sprites = (struct st_sprite *) malloc(ENEMYCNT * sizeof(struct st_sprite)); // these are debug checks; there should be enough memory - if(sprites == NULL)error(); + if(sprites == NULL)error("Memory; locate enemies"); } // spritecnt holds the number of all sprites; enemies, items and whatever else will come -- cgit v1.3.1