Skip to content

Commit

Permalink
add trap sound to trapped chests
Browse files Browse the repository at this point in the history
  • Loading branch information
qndel authored and AJenbo committed Oct 15, 2023
1 parent 61e51f2 commit ad3a206
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/objects.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2049,6 +2049,7 @@ void OperateChest(const Player &player, Object &chest, bool sendLootMsg)
mtype = MissileID::Arrow;
}
AddMissile(chest.position, player.position.tile, mdir, mtype, TARGET_PLAYERS, -1, 0, 0);
PlaySfxLoc(IS_TRAP, chest.position);
chest._oTrapFlag = false;
}
if (&player == MyPlayer)
Expand Down

0 comments on commit ad3a206

Please sign in to comment.