Skip to content

Commit

Permalink
ChunkActor: don't drop more gold than expected
Browse files Browse the repository at this point in the history
  • Loading branch information
lynxlynxlynx committed May 15, 2024
1 parent a4809c4 commit 4e86150
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gemrb/core/Scriptable/Actor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4133,6 +4133,7 @@ static void ChunkActor(Actor* actor)
for (auto animID : bodyParts) {
Actor* copy = actor->CopySelf(true);
map->ClearSearchMapFor(copy);
copy->SetBase(IE_GOLD, 0);
copy->SetStance(IE_ANI_TWITCH); // force only one loop of the animation
copy->SetAnimationID(animID);
copy->SetBase(IE_DONOTJUMP, DNJ_UNHINDERED);
Expand Down

0 comments on commit 4e86150

Please sign in to comment.