FULLPIPE: Fix const'ness

This commit is contained in:
Eugene Sandulenko 2013-09-06 15:51:36 +03:00
parent 0b88635ef4
commit c55862a378

View File

@ -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;