Bump the error timer to once every 60 secs, and trim message to the first 78 characters. (cherry picked from commit 850b642ca6ea24c143f0c569e7dc659447bd6533)

master
buginator 2010-10-14 21:09:49 -04:00
parent 707eed834b
commit 1e0899166f
1 changed files with 2 additions and 2 deletions

View File

@ -649,11 +649,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;
}