fix ?
This commit is contained in:
parent
917d16151b
commit
aa9b459ef7
@ -121,8 +121,8 @@ bool RPGCharacter::fromString(QString str)
|
||||
int nbItems = list[8].toInt(&ok);
|
||||
if(!ok)
|
||||
return false;
|
||||
for(int i=0; i<nbItems && i+9 < list.size; ++i)
|
||||
inventory.push_back(list[9+i]);
|
||||
/*for(int i=0; i<nbItems && i+9 < list.size(); ++i)
|
||||
inventory.push_back(list[9+i]);*/
|
||||
return true;
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user