support for hotpatching to restore ADV patch support

This commit is contained in:
Ondřej Novák 2025-03-25 19:47:01 +01:00
parent 2be7f5d2b2
commit 04b57b4088
14 changed files with 168 additions and 278 deletions

View file

@ -1435,7 +1435,6 @@ void call_dialog(int entr,int mob)
goto_paragraph(entr);
schovej_mysku();
alock(H_DIALOGY_DAT);
aswap(H_DIALOGY_DAT);
selected_player=-1;
do_dialog();
}
@ -1482,7 +1481,6 @@ char load_dialog_info(TMPFILE_RD *f)
SEND_LOG("(DIALOGS)(SAVELOAD) Loading dialogs info...");
p=ablock_copy(H_DIALOGY_DAT);
aswap(H_DIALOGY_DAT);
temp_storage_read(&pgf_pocet,1*4,f);
siz=(pgf_pocet+3)/4;
if (pgf_pocet!=*p)