mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-10 08:00:05 +00:00
(svn r8675) [PSP] -Fix: don't autosave in networking for PSP, to time expensive
This commit is contained in:
parent
0d91ed68a9
commit
098a63fc53
@ -934,6 +934,12 @@ static void DoAutosave(void)
|
|||||||
{
|
{
|
||||||
char buf[200];
|
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) {
|
if (_patches.keep_all_autosave && _local_player != PLAYER_SPECTATOR) {
|
||||||
const Player *p = GetPlayer(_local_player);
|
const Player *p = GetPlayer(_local_player);
|
||||||
char* s = buf;
|
char* s = buf;
|
||||||
|
Loading…
Reference in New Issue
Block a user