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);
|
int nbItems = list[8].toInt(&ok);
|
||||||
if(!ok)
|
if(!ok)
|
||||||
return false;
|
return false;
|
||||||
for(int i=0; i<nbItems && i+9 < list.size; ++i)
|
/*for(int i=0; i<nbItems && i+9 < list.size(); ++i)
|
||||||
inventory.push_back(list[9+i]);
|
inventory.push_back(list[9+i]);*/
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user