Skip to content

Commit

Permalink
Interface: Fix double click sound when unequipping armor
Browse files Browse the repository at this point in the history
Was broken in commit 1e0b0ca.
  • Loading branch information
dscharrer committed Apr 10, 2022
1 parent 4eac200 commit a5f419a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG
Expand Up @@ -65,6 +65,7 @@ Technical Changes:
Audio:

* Fixed missing death screams for most NPCs (bug #1579)
* Fixed double click sound when unequipping armor

Performance:

Expand Down
2 changes: 1 addition & 1 deletion src/gui/Interface.cpp
Expand Up @@ -1889,7 +1889,7 @@ void ArxGame::manageEditorControls() {
if(io && (!g_cursorOverBook || io->show == SHOW_FLAG_ON_PLAYER)) {

if(io->show == SHOW_FLAG_ON_PLAYER) {
ARX_EQUIPMENT_UnEquip(entities.player(), io);
ARX_EQUIPMENT_UnEquip(entities.player(), io, 1);
io->bbox2D.max.x = -1;
}

Expand Down

0 comments on commit a5f419a

Please sign in to comment.