diff options
author | truelight <truelight@openttd.org> | 2007-02-11 14:04:40 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2007-02-11 14:04:40 +0000 |
commit | 098a63fc5310d33ed5b50099ba98111059c879d3 (patch) | |
tree | 01c3a8d551757ae9a838aee91bb0027c817bbba9 | |
parent | 0d91ed68a9b5e63098eca9765686acf5928ed643 (diff) | |
download | openttd-098a63fc5310d33ed5b50099ba98111059c879d3.tar.xz |
(svn r8675) [PSP] -Fix: don't autosave in networking for PSP, to time expensive
-rw-r--r-- | src/openttd.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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; |