diff --git a/Source/UI/Text/NavigationLink.cpp b/Source/UI/Text/NavigationLink.cpp index 406f3058..d520ff9a 100644 --- a/Source/UI/Text/NavigationLink.cpp +++ b/Source/UI/Text/NavigationLink.cpp @@ -1658,7 +1658,7 @@ void UIEmotion::Paint() { } const std::vector& images = this->m_sprite->images[cell.imageType]; - if (static_cast(cell.image) < images.size()) { + if (images.size() > static_cast(cell.image)) { SpriteRleImage* image = images[cell.image]; if (image) { this->AddRotatedSpriteCellOverlay(