Fix combat control fields not being cleared

Closes #194
This commit is contained in:
Alexander Batalov 2022-11-03 17:48:34 +03:00
parent e7d68c4f72
commit b689b3a757
1 changed files with 1 additions and 1 deletions

View File

@ -3498,7 +3498,7 @@ void partyMemberControlWindowUpdate()
FrmImage backgroundFrmImage; FrmImage backgroundFrmImage;
int backgroundFid = buildFid(OBJ_TYPE_INTERFACE, 390, 0, 0, 0); int backgroundFid = buildFid(OBJ_TYPE_INTERFACE, 390, 0, 0, 0);
if (!backgroundFrmImage.lock(backgroundFid)) { if (backgroundFrmImage.lock(backgroundFid)) {
int width = backgroundFrmImage.getWidth(); int width = backgroundFrmImage.getWidth();
unsigned char* buffer = backgroundFrmImage.getData(); unsigned char* buffer = backgroundFrmImage.getData();