From 750f61012e0304f72338528f84935244a2cbf2b8 Mon Sep 17 00:00:00 2001 From: truelight Date: Sun, 11 Feb 2007 14:04:40 +0000 Subject: (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 b147b994d..be9cd54ea 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; -- cgit v1.2.3-54-g00ecf