(svn r8675) [PSP] -Fix: don't autosave in networking for PSP, to time expensive

This commit is contained in:
truelight 2007-02-11 14:04:40 +00:00
parent 0d91ed68a9
commit 098a63fc53
1 changed files with 6 additions and 0 deletions

View File

@ -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;