mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-12 17:32:30 -04:00
fix crash - bug in savegame
This commit is contained in:
parent
e78b79bbd8
commit
5746bed249
2 changed files with 5 additions and 5 deletions
|
@ -685,7 +685,7 @@ static int process_with_params(const char *cmd, const char *args) {
|
|||
if (istrcmp(cmd, "portal-jump") == 0) {
|
||||
if (check_file_exists(build_pathname(2,gpathtable[SR_MAP], args))) {
|
||||
TMA_LOADLEV lev;
|
||||
strcopy_n(lev.name,args,12);
|
||||
strcopy_n(lev.name,args,sizeof(lev.name));
|
||||
lev.start_pos = 0;
|
||||
macro_load_another_map(&lev);
|
||||
return 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue