diff options
| author | Léo Lam <leo@leolam.fr> | 2020-11-08 23:03:22 +0100 |
|---|---|---|
| committer | Léo Lam <leo@leolam.fr> | 2020-11-08 23:04:14 +0100 |
| commit | b28ba7b3adcda445a63d617c8cb0691d404130d6 (patch) | |
| tree | 3090ca4a4da6bdf6e08f152de2a54e6387b5672c /src/KingSystem/ActorSystem/actActorCaptureMgr.cpp | |
| parent | cb5976d8aefb2b03d9cb48dfa28c2dc7142020a1 (diff) | |
ksys/act: Add Actor::getMaxLife and fix encapsulation
Diffstat (limited to 'src/KingSystem/ActorSystem/actActorCaptureMgr.cpp')
| -rw-r--r-- | src/KingSystem/ActorSystem/actActorCaptureMgr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/KingSystem/ActorSystem/actActorCaptureMgr.cpp b/src/KingSystem/ActorSystem/actActorCaptureMgr.cpp index e1a530b5..32f1525b 100644 --- a/src/KingSystem/ActorSystem/actActorCaptureMgr.cpp +++ b/src/KingSystem/ActorSystem/actActorCaptureMgr.cpp @@ -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(); |
