diff options
Diffstat (limited to 'engines/sword25/gfx/image/art.h')
-rw-r--r-- | engines/sword25/gfx/image/art.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sword25/gfx/image/art.h b/engines/sword25/gfx/image/art.h index 942e26644f..8c9c97bc57 100644 --- a/engines/sword25/gfx/image/art.h +++ b/engines/sword25/gfx/image/art.h @@ -57,6 +57,7 @@ namespace Sword25 { } else { \ max = 1; \ p = art_new(type, 1); \ + if (!p) error("Cannot allocate memory for art data"); \ } \ } while (0) |