Skip to content

Commit

Permalink
Don't update time when added speech
Browse files Browse the repository at this point in the history
This causes problems when the slow time spell is active as the
time drift calculation sometimes causes the game time to move backwards.
Thanks to bsxf47 for tracking this down.

As far as I can tell, this call is not needed for anything.

See: issue #874
  • Loading branch information
dscharrer committed Sep 23, 2016
1 parent ad81869 commit 8bf714c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/gui/Speech.cpp
Expand Up @@ -343,7 +343,6 @@ long ARX_SPEECH_AddSpeech(Entity * io, const std::string & data, long mood,
}

aspeech[num].exist = 1;
arxtime.update();
aspeech[num].time_creation = arxtime.now();
aspeech[num].io = io; // can be NULL
aspeech[num].duration = ArxDurationMs(2000); // Minimum value
Expand Down

0 comments on commit 8bf714c

Please sign in to comment.