Fix STK2 rocket boots not saving in saves
This commit is contained in:
parent
9ed7f1e85a
commit
7af51b55ac
@ -732,7 +732,7 @@ void GameSave::readOPS(char * data, int dataLength)
|
|||||||
while (bson_iterator_next(&stkmiter))
|
while (bson_iterator_next(&stkmiter))
|
||||||
{
|
{
|
||||||
CheckBsonFieldBool(stkmiter, "rocketBoots1", &stkm.rocketBoots1);
|
CheckBsonFieldBool(stkmiter, "rocketBoots1", &stkm.rocketBoots1);
|
||||||
CheckBsonFieldBool(stkmiter, "rocketBoots1", &stkm.rocketBoots1);
|
CheckBsonFieldBool(stkmiter, "rocketBoots2", &stkm.rocketBoots2);
|
||||||
CheckBsonFieldBool(stkmiter, "fan1", &stkm.fan1);
|
CheckBsonFieldBool(stkmiter, "fan1", &stkm.fan1);
|
||||||
CheckBsonFieldBool(stkmiter, "fan2", &stkm.fan2);
|
CheckBsonFieldBool(stkmiter, "fan2", &stkm.fan2);
|
||||||
if (!strcmp(bson_iterator_key(&stkmiter), "rocketBootsFigh") && bson_iterator_type(&stkmiter) == BSON_ARRAY)
|
if (!strcmp(bson_iterator_key(&stkmiter), "rocketBootsFigh") && bson_iterator_type(&stkmiter) == BSON_ARRAY)
|
||||||
|
Loading…
Reference in New Issue
Block a user