From b689b3a757e2a75bb4f8d5b6bdff1adbdf963183 Mon Sep 17 00:00:00 2001 From: Alexander Batalov Date: Thu, 3 Nov 2022 17:48:34 +0300 Subject: [PATCH] Fix combat control fields not being cleared Closes #194 --- src/game_dialog.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game_dialog.cc b/src/game_dialog.cc index b14066f..d3a5bb6 100644 --- a/src/game_dialog.cc +++ b/src/game_dialog.cc @@ -3498,7 +3498,7 @@ void partyMemberControlWindowUpdate() FrmImage backgroundFrmImage; int backgroundFid = buildFid(OBJ_TYPE_INTERFACE, 390, 0, 0, 0); - if (!backgroundFrmImage.lock(backgroundFid)) { + if (backgroundFrmImage.lock(backgroundFid)) { int width = backgroundFrmImage.getWidth(); unsigned char* buffer = backgroundFrmImage.getData();