AlchSync: Change dynamic_casts to LLVOVolume to asVolume()
This commit is contained in:
@@ -5953,7 +5953,7 @@ void process_object_animation(LLMessageSystem *mesgsys, void **user_data)
|
||||
return;
|
||||
}
|
||||
|
||||
LLVOVolume *volp = dynamic_cast<LLVOVolume*>(objp);
|
||||
LLVOVolume *volp = objp->asVolume();
|
||||
if (!volp)
|
||||
{
|
||||
LL_DEBUGS("AnimatedObjectsNotify") << "Received animation state for non-volume object " << uuid << LL_ENDL;
|
||||
|
||||
Reference in New Issue
Block a user