Fix red dialog buttons
This commit is contained in:
parent
74a9a9e530
commit
ddae4df4ab
|
@ -4623,15 +4623,15 @@ static void gameDialogHighlightsExit()
|
||||||
|
|
||||||
static void gameDialogRedButtonsInit()
|
static void gameDialogRedButtonsInit()
|
||||||
{
|
{
|
||||||
// di_rdbt2.frm - dialog red button down
|
// di_rdbt2.frm - dialog red button up
|
||||||
int pressedFid = buildFid(OBJ_TYPE_INTERFACE, 96, 0, 0, 0);
|
int normalFid = buildFid(OBJ_TYPE_INTERFACE, 96, 0, 0, 0);
|
||||||
if (!_redButtonPressedFrmImage.lock(pressedFid)) {
|
if (!_redButtonNormalFrmImage.lock(normalFid)) {
|
||||||
gameDialogRedButtonsExit();
|
gameDialogRedButtonsExit();
|
||||||
}
|
}
|
||||||
|
|
||||||
// di_rdbt1.frm - dialog red button up
|
// di_rdbt1.frm - dialog red button down
|
||||||
int normalFid = buildFid(OBJ_TYPE_INTERFACE, 95, 0, 0, 0);
|
int pressedFid = buildFid(OBJ_TYPE_INTERFACE, 95, 0, 0, 0);
|
||||||
if (!_redButtonNormalFrmImage.lock(normalFid)) {
|
if (!_redButtonPressedFrmImage.lock(pressedFid)) {
|
||||||
gameDialogRedButtonsExit();
|
gameDialogRedButtonsExit();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue