ksys/act: Add Actor::getMaxLife and fix encapsulation

This commit is contained in:
Léo Lam
2020-11-08 23:03:22 +01:00
parent cb5976d8ae
commit b28ba7b3ad
3 changed files with 7 additions and 2 deletions
@@ -36,7 +36,7 @@ void ActorCaptureMgr::setCamera(Camera* camera) {
}
void ActorCaptureMgr::loadCaptureParam() {
if (!mActor || !mActor->mActorParam)
if (!mActor || !mActor->getParam())
return;
const char* name = getCapturedActorName();