From 098a63fc5310d33ed5b50099ba98111059c879d3 Mon Sep 17 00:00:00 2001 From: truelight Date: Sun, 11 Feb 2007 14:04:40 +0000 Subject: [PATCH] (svn r8675) [PSP] -Fix: don't autosave in networking for PSP, to time expensive --- src/openttd.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/openttd.cpp b/src/openttd.cpp index b147b994d8..be9cd54ead 100644 --- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -934,6 +934,12 @@ static void DoAutosave(void) { char buf[200]; +#if defined(PSP) + /* Autosaving in networking is too time expensive for the PSP */ + if (_networking) + return; +#endif /* PSP */ + if (_patches.keep_all_autosave && _local_player != PLAYER_SPECTATOR) { const Player *p = GetPlayer(_local_player); char* s = buf;