mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
Fixed bug #93: Character name too long at IMP activation screen -> CTD
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2100 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -1209,7 +1209,7 @@ void WriteOutCurrentImpCharacter( INT32 iProfileId, STR fileName )
|
||||
BOOLEAN ImpExists ( STR nickName )
|
||||
{
|
||||
// Changed by ADB, rev 1513, to resolve IMPs created prior to structural changes
|
||||
char zFileName[13];
|
||||
char zFileName[32];
|
||||
|
||||
strcpy(zFileName,nickName);
|
||||
//strcat(zFileName,IMP_FILENAME_SUFFIX);
|
||||
@@ -1238,7 +1238,8 @@ BOOLEAN LoadImpCharacter( STR nickName )
|
||||
HWFILE hFile;
|
||||
UINT32 uiBytesRead = 0;
|
||||
|
||||
char zFileName[13];
|
||||
// WANNE: Enlarged the array from 13 characters to 32.
|
||||
char zFileName[32];
|
||||
|
||||
//ADB first try to load the new kind
|
||||
strcpy(zFileName,nickName);
|
||||
|
||||
Reference in New Issue
Block a user