dialog: do not open dialog centered at 0x0

Character Editor[skill]: do not always display help, there is an help button...
This commit is contained in:
ALONSO Laurent
2021-10-14 15:51:19 +02:00
committed by Celtic Minstrel
parent 8f2139ea35
commit fdb2b0e0d8
2 changed files with 2 additions and 4 deletions

View File

@@ -634,8 +634,6 @@ bool spend_xp(short pc_num, short mode, cDialog* parent) {
xpDlog.attachClickHandlers(std::bind(spend_xp_navigate_filter,_1,_2,std::ref(save)),{"keep","cancel","left","right","help"});
xpDlog.attachClickHandlers(spend_xp_filter,{"sp-m","sp-p","hp-m","hp-p"});
give_help(10,11,xpDlog);
xpDlog.run();
return xpDlog.getResult<bool>();