oops... thanks wjp for pointing me this one

svn-id: r16368
This commit is contained in:
Gregory Montoir 2004-12-29 14:25:20 +00:00
parent 44531e4aee
commit 4d46b7882a

View File

@ -876,7 +876,7 @@ void Display::drawTexts() {
}
void Display::clearTexts(uint16 y1, uint16 y2) {
assert(y1 <= y2 <= GAME_SCREEN_HEIGHT);
assert(y1 <= y2 && y2 < GAME_SCREEN_HEIGHT);
while (y1 <= y2) {
_texts[y1].text.clear();
++y1;