(svn r2349) - Fix: remove warning from release build when assertions are no longer active

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
Darkvater 19 years ago
parent cdb81c660c
commit 1b2b0d5b79

@ -368,8 +368,12 @@ static void LoadGrfIndexed(const char *filename, const uint16 *index_tbl, int fi
SkipSprites(end);
} else { // load sprites and use indexes from start to end
do {
#ifdef NDEBUG
LoadNextSprite(start, file_index);
#else
bool b = LoadNextSprite(start, file_index);
assert(b);
#endif
} while (++start <= end);
}
}

Loading…
Cancel
Save