Mercurial > hg > openttd
changeset 5977:03f33d102c56 draft
(svn r8675) [PSP] -Fix: don't autosave in networking for PSP, to time expensive
author | truelight <truelight@openttd.org> |
---|---|
date | Sun, 11 Feb 2007 14:04:40 +0000 |
parents | 93a644e6044b |
children | 37eabefc0a74 |
files | src/openttd.cpp |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -934,6 +934,12 @@ { 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;