diff --git a/src/drawing/Image.cpp b/src/drawing/Image.cpp index bc8a879d7d..ee02e458d6 100644 --- a/src/drawing/Image.cpp +++ b/src/drawing/Image.cpp @@ -56,7 +56,7 @@ static bool AllocatedListContains(uint32 baseImageId, uint32 count) static uint32 AllocateImageList(uint32 count) { - Guard::Assert(count == 0, GUARD_LINE); + Guard::Assert(count != 0, GUARD_LINE); if (!_initialised) {