fix shops

This commit is contained in:
Ondřej Novák 2025-01-31 22:20:06 +01:00
parent 99378da298
commit 42087c926c
10 changed files with 143 additions and 139 deletions

View file

@ -164,7 +164,8 @@ static void dialog_anim(va_list args)
mgif_install_proc(animace_kouzla);
const char *ch = build_pathname(2,gpathtable[SR_DIALOGS], block);
free(block);
aptr=load_file(ch);
size_t loadsize;
aptr=load_file(ch, &loadsize);
do
{
anm=open_mgif(aptr);