mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-14 02:11:58 -04:00
more controller support and fix some crashes
This commit is contained in:
parent
3f946405b9
commit
0e251dcd05
19 changed files with 608 additions and 195 deletions
|
@ -957,6 +957,7 @@ void init_skeldal(const INI_CONFIG *cfg)
|
|||
}
|
||||
showview = game_display_update_rect;
|
||||
game_display_set_icon(getWindowIcon(), getWindowIconSize());
|
||||
init_joystick(ini_section_open(cfg, "controller"));
|
||||
|
||||
general_engine_init();
|
||||
atexit(done_skeldal);
|
||||
|
@ -1382,7 +1383,7 @@ static void game_big_circle(char enforced)
|
|||
leave_current_map();
|
||||
strcopy_n(s,loadlevel.name,sizeof(s));
|
||||
if (s[0]!=0) {
|
||||
err=load_map(s);
|
||||
err=load_map(s);
|
||||
}
|
||||
memset(GlobEventList,0,sizeof(GlobEventList));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue