mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-19 16:18:45 +00:00
FULLPIPE: Fix const'ness
This commit is contained in:
parent
0b88635ef4
commit
c55862a378
@ -435,7 +435,7 @@ void Scene::initObjectCursors(const char *varname) {
|
||||
}
|
||||
|
||||
bool Scene::compareObjPriority(const void *p1, const void *p2) {
|
||||
if (((StaticANIObject *)p1)->_priority > ((StaticANIObject *)p2)->_priority)
|
||||
if (((const StaticANIObject *)p1)->_priority > ((const StaticANIObject *)p2)->_priority)
|
||||
return true;
|
||||
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user