Load signs from OPS data
This commit is contained in:
parent
d24e439a1e
commit
21f050800b
@ -951,6 +951,16 @@ void GameSave::readOPS(char * data, int dataLength)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(tempSigns.size())
|
||||||
|
{
|
||||||
|
for (int i = 0; i < tempSigns.size(); i++)
|
||||||
|
{
|
||||||
|
if(signs.size() == MAXSIGNS)
|
||||||
|
break;
|
||||||
|
signs.push_back(tempSigns[i]);
|
||||||
|
}
|
||||||
|
}
|
||||||
goto fin;
|
goto fin;
|
||||||
fail:
|
fail:
|
||||||
//Clean up everything
|
//Clean up everything
|
||||||
@ -1554,7 +1564,7 @@ void GameSave::readPSv(char * data, int dataLength)
|
|||||||
|
|
||||||
for (i = 0; i < tempSigns.size(); i++)
|
for (i = 0; i < tempSigns.size(); i++)
|
||||||
{
|
{
|
||||||
if(i == MAXSIGNS)
|
if(signs.size() == MAXSIGNS)
|
||||||
break;
|
break;
|
||||||
signs.push_back(tempSigns[i]);
|
signs.push_back(tempSigns[i]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user