mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-19 04:34:51 -04:00
fix bug, controller info, remove old stuff
This commit is contained in:
parent
e2fb5b9910
commit
1297cccd70
21 changed files with 98 additions and 66 deletions
|
@ -664,6 +664,8 @@ int load_basic_info()
|
|||
{
|
||||
h->demon_save=New(THUMAN);
|
||||
temp_storage_read(h->demon_save,sizeof(THUMAN)*1,f);//obnova polozek s demony
|
||||
h->demon_save->programovano = 0;
|
||||
h->demon_save->provadena_akce=h->zvolene_akce=NULL;
|
||||
}
|
||||
}
|
||||
res|=load_dialog_info(f);
|
||||
|
@ -1457,7 +1459,6 @@ for(id=0;id<mapsize;id++) map_coord[id].flags&=~MC_DPLAYER;
|
|||
}
|
||||
reg_grafiku_postav();
|
||||
build_all_players();
|
||||
cancel_render=1;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -1718,6 +1719,9 @@ void wire_save_load(char save) {
|
|||
current_game_slot_list.count++;
|
||||
str_insline(¤t_game_slot_list.files, 0, NULL);
|
||||
str_insline(¤t_game_slot_list.names, 0, texty[75]);
|
||||
free(current_game_slot_list.autosave_flags);
|
||||
current_game_slot_list.autosave_flags = NewArr(char, current_game_slot_list.count);
|
||||
memset(current_game_slot_list.autosave_flags,0,current_game_slot_list.count);
|
||||
change_click_map(clk_save,CLK_SAVELOAD);
|
||||
redraw_save();
|
||||
send_message(E_ADD, E_KEYBOARD, saveload_keyboard);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue