mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-05-09 03:58:14 +03:00
Fixed dialog bad cancel command
This commit is contained in:
parent
cb36015a38
commit
46e7f29820
1 changed files with 1 additions and 1 deletions
|
@ -3865,7 +3865,7 @@ void UI_CreateDialog(
|
|||
dlg->Create(NULL, rect, title, bgColor, UHudColor);
|
||||
dlg->LinkCvar(cvarname);
|
||||
dlg->SetOKCommand(command);
|
||||
dlg->SetCancelCommand(command);
|
||||
dlg->SetCancelCommand(cancelCommand);
|
||||
dlg->SetLabelMaterial(uWinMan.RegisterShader(shader));
|
||||
dlg->SetOkMaterial(uWinMan.RegisterShader(okshader));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue