mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Oops, I forgot to leave a space for the terminating character for the string here
git-svn-id: https://svn.eduke32.com/eduke32@426 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
b04bfe58fb
commit
15c080e73c
1 changed files with 1 additions and 1 deletions
|
@ -1609,7 +1609,7 @@ int enterlevel(char g)
|
||||||
level_file_names[(ud.volume_number*MAXLEVELS)+ud.level_number] = Bcalloc(BMAX_PATH,sizeof(char));
|
level_file_names[(ud.volume_number*MAXLEVELS)+ud.level_number] = Bcalloc(BMAX_PATH,sizeof(char));
|
||||||
if (level_names[(ud.volume_number*MAXLEVELS)+ud.level_number] == NULL)
|
if (level_names[(ud.volume_number*MAXLEVELS)+ud.level_number] == NULL)
|
||||||
{
|
{
|
||||||
level_names[(ud.volume_number*MAXLEVELS)+ud.level_number] = Bcalloc(8,sizeof(char));
|
level_names[(ud.volume_number*MAXLEVELS)+ud.level_number] = Bcalloc(9,sizeof(char));
|
||||||
Bsprintf(level_names[(ud.volume_number*MAXLEVELS)+ud.level_number],"USER MAP");
|
Bsprintf(level_names[(ud.volume_number*MAXLEVELS)+ud.level_number],"USER MAP");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue