mirror of
https://github.com/alexbatalov/fallout2-ce.git
synced 2024-10-06 06:39:52 +00:00
Fix red dialog buttons
This commit is contained in:
parent
74a9a9e530
commit
ddae4df4ab
@ -4623,15 +4623,15 @@ static void gameDialogHighlightsExit()
|
||||
|
||||
static void gameDialogRedButtonsInit()
|
||||
{
|
||||
// di_rdbt2.frm - dialog red button down
|
||||
int pressedFid = buildFid(OBJ_TYPE_INTERFACE, 96, 0, 0, 0);
|
||||
if (!_redButtonPressedFrmImage.lock(pressedFid)) {
|
||||
// di_rdbt2.frm - dialog red button up
|
||||
int normalFid = buildFid(OBJ_TYPE_INTERFACE, 96, 0, 0, 0);
|
||||
if (!_redButtonNormalFrmImage.lock(normalFid)) {
|
||||
gameDialogRedButtonsExit();
|
||||
}
|
||||
|
||||
// di_rdbt1.frm - dialog red button up
|
||||
int normalFid = buildFid(OBJ_TYPE_INTERFACE, 95, 0, 0, 0);
|
||||
if (!_redButtonNormalFrmImage.lock(normalFid)) {
|
||||
// di_rdbt1.frm - dialog red button down
|
||||
int pressedFid = buildFid(OBJ_TYPE_INTERFACE, 95, 0, 0, 0);
|
||||
if (!_redButtonPressedFrmImage.lock(pressedFid)) {
|
||||
gameDialogRedButtonsExit();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user