Skip to content

Commit

Permalink
GameScript::AdvanceTime: also reset comment times here
Browse files Browse the repository at this point in the history
fixes long travelling causing immediate reactions
  • Loading branch information
lynxlynxlynx committed Mar 17, 2017
1 parent a18f72a commit 3c3cf88
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gemrb/core/GameScript/Actions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5157,6 +5157,7 @@ void GameScript::SetScriptName( Scriptable* Sender, Action* parameters)
void GameScript::AdvanceTime(Scriptable* /*Sender*/, Action* parameters)
{
core->GetGame()->AdvanceTime(parameters->int0Parameter*AI_UPDATE_TIME);
core->GetGame()->ResetPartyCommentTimes();
}

//advance at least one day, then stop at next day/dusk/night/morning
Expand Down

0 comments on commit 3c3cf88

Please sign in to comment.