summaryrefslogtreecommitdiff
path: root/fxmaze.c
diff options
context:
space:
mode:
Diffstat (limited to 'fxmaze.c')
-rw-r--r--fxmaze.c2
1 files changed, 1 insertions, 1 deletions
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