This commit is contained in:
Anselme 2016-03-22 13:33:47 +01:00
parent 917d16151b
commit aa9b459ef7

View File

@ -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