Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
youneuoy committed Mar 20, 2023
1 parent ab723e2 commit 3682d28
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions M2TWEOP Code/M2TWEOP library/stratModelsChange.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -136,15 +136,11 @@ namespace stratModelsChange
int8_t Vis = 0;
};
vector<visibilityCrashFixS> crashFixAr;
//Change only when render queue is happening to avoid crashes

void checkAndChangeStratModels()
{
if (changeModelsNeededNow == modelsChangeStatus::needFixHiding)
{
//for (stratModelChangeRecord* changeMod : stratModelChangeList) //static models
//{
// fastFuncts::hideRevealedTileForEveryone(changeMod->x, changeMod->y);
//}
for (auto& visFix : crashFixAr)
{
fastFuncts::setTileVisibility(visFix.Fac, visFix.X, visFix.Y, visFix.Vis);
Expand Down Expand Up @@ -185,7 +181,6 @@ namespace stratModelsChange
fastFuncts::setTileVisibility(listFac[i], changeMod->x, changeMod->y, 1);
}

//fastFuncts::revealTileForEveryone(changeMod->x, changeMod->y);
}
}
for (stratModelCharacterRecordChange* changeMod : stratModelCharacterChangeList) //character models
Expand Down

0 comments on commit 3682d28

Please sign in to comment.