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

pull/155/head
Darkvater 19 years ago
parent b51c190546
commit 8f88693a0d

@ -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