Skip to content

Commit

Permalink
Don't show animations in observer mode with quick movement/combat off
Browse files Browse the repository at this point in the history
  • Loading branch information
axatin authored and azum4roll committed Jul 12, 2024
1 parent f6c3900 commit 2fbe550
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CvGameCoreDLL_Expansion2/CvPlot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4492,6 +4492,10 @@ bool CvPlot::isVisible(TeamTypes eTeam) const
// --------------------------------------------------------------------------------
bool CvPlot::isActiveVisible() const
{
if (GET_PLAYER(GC.getGame().getActivePlayer()).isObserver() && CvPreGame::quickCombat() && CvPreGame::quickMovement())
//this is relevant for animations etc, do not show them in observer mode, makes everything faster
return false;

return isVisible(GC.getGame().getActiveTeam());
}

Expand Down

0 comments on commit 2fbe550

Please sign in to comment.