- bugfix: When loading an I.M.P by nickname or 90210 the voice was not set correct

- feature: Now it is possible to load an I.M.P. even if it has multiple blanks (spaces) in the nickname. E.g. "Mr D 2", "Jack 1", ...

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@559 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Wanne
2006-09-25 07:55:58 +00:00
parent 236e26fe8a
commit 0aa610ac40
7 changed files with 41 additions and 23 deletions
+1 -1
View File
@@ -767,7 +767,7 @@ BOOLEAN LoadImpCharacter( STR nickName )
}
// Set the ID of the new IMP
iProfileId = GetFreeIMPSlot(iProfileId);
iProfileId = GetFreeIMPSlot(iProfileId, iProfileId);
// We can create the new imp, beacuse we found an empty slot
if (iProfileId != -1)