diff options
-rw-r--r-- | queen/display.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/queen/display.cpp b/queen/display.cpp index 6e86abab50..50e5766a6c 100644 --- a/queen/display.cpp +++ b/queen/display.cpp @@ -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; |