Skip to content

Commit

Permalink
KOTOR: Play animation on the party leader if no object is active
Browse files Browse the repository at this point in the history
  • Loading branch information
vkremianskii authored and DrMcCoy committed Mar 3, 2019
1 parent 9ebcb5c commit 90535fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engines/kotorbase/module.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1029,7 +1029,7 @@ void Module::playAnimationOnActiveObject(const Common::UString &baseAnim,
const Common::UString &headAnim) {
Object *o = _area->getActiveObject();
if (!o)
return;
o = getPartyLeader();

o->playAnimation(baseAnim, true, -1.0f);

Expand Down

0 comments on commit 90535fc

Please sign in to comment.