mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Fixed loading of flipped and duplicate images in animations
This commit is contained in:
@@ -49,3 +49,8 @@ bool ImageLocator::operator<(const ImageLocator & other) const
|
||||
return verticalFlip < other.verticalFlip;
|
||||
return horizontalFlip < other.horizontalFlip;
|
||||
}
|
||||
|
||||
bool ImageLocator::empty() const
|
||||
{
|
||||
return !image.has_value() && !defFile.has_value();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user