Mercurial > hg > openttd
diff src/openttd.cpp @ 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 (2007-02-11) |
parents | a34cb5eb18ca |
children | 3828f4c73a88 |
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;