mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-20 22:33:43 -04:00
fix some warnings
This commit is contained in:
parent
cc40eb39f0
commit
0550d584e6
1 changed files with 1 additions and 1 deletions
|
@ -759,7 +759,7 @@ int save_game(long game_time,char *gamename, char is_autosave)
|
||||||
|
|
||||||
char str_buff[50];
|
char str_buff[50];
|
||||||
snprintf(str_buff,sizeof(str_buff),"sav.%08lx.%08lx%s", current_campaign, game_time, is_autosave?AUTOSAVE_SUFFIX:"");
|
snprintf(str_buff,sizeof(str_buff),"sav.%08lx.%08lx%s", current_campaign, game_time, is_autosave?AUTOSAVE_SUFFIX:"");
|
||||||
SEND_LOG("(SAVELOAD) Saving game slot %d",game_time);
|
SEND_LOG("(SAVELOAD) Saving game slot %ld",game_time);
|
||||||
save_map_state();
|
save_map_state();
|
||||||
|
|
||||||
const char *sn = build_pathname(2,gpathtable[SR_SAVES],str_buff);
|
const char *sn = build_pathname(2,gpathtable[SR_SAVES],str_buff);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue