mirror of
https://github.com/DarkStore-3DS/Universal-Core.git
synced 2026-07-03 00:39:23 +00:00
Minor improvements and make functions const
This commit is contained in:
@@ -83,7 +83,7 @@ Spritesheet::~Spritesheet(void) {
|
||||
}
|
||||
}
|
||||
|
||||
Image &Spritesheet::operator[](size_t index) {
|
||||
Image &Spritesheet::operator[](size_t index) const {
|
||||
if(_images[index] && index < _images.size())
|
||||
return *_images[index];
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user