Skip to content

Commit

Permalink
Bump the error timer to once every 60 secs, and trim message to the f…
Browse files Browse the repository at this point in the history
…irst 78 characters.
  • Loading branch information
buginator committed Oct 15, 2010
1 parent 5380226 commit 850b642
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/display3d.c
Expand Up @@ -503,11 +503,11 @@ void draw3DScene( void )
}
if (errorWaiting)
{
if (lastErrorTime + (30 * GAME_TICKS_PER_SEC) < gameTime2)
if (lastErrorTime + (60 * GAME_TICKS_PER_SEC) < gameTime2)
{
char trimMsg[255];
audio_PlayTrack(ID_SOUND_BUILD_FAIL);
ssprintf(trimMsg, "Error! (Check your logs!): %200s", errorMessage);
ssprintf(trimMsg, "Error! (Check your logs!): %.78s", errorMessage);
addConsoleMessage(trimMsg, DEFAULT_JUSTIFY, NOTIFY_MESSAGE);
errorWaiting = false;
}
Expand Down

0 comments on commit 850b642

Please sign in to comment.