summaryrefslogtreecommitdiff
path: root/economy.c
diff options
context:
space:
mode:
authorsignde <signde@openttd.org>2004-09-11 19:34:11 +0000
committersignde <signde@openttd.org>2004-09-11 19:34:11 +0000
commit1fb915df69aaa77ec8be39bb96650e5ec568e245 (patch)
treea7f24d905e8470f6331b816f08ef922fb43b8532 /economy.c
parentd03afadad23fced4bbb11df12a01f26cdbaf6844 (diff)
downloadopenttd-1fb915df69aaa77ec8be39bb96650e5ec568e245.tar.xz
(svn r207) -Codechange: randomizer handling
-Fix: desync problem fixes -Fix: server doesnt hang anymore when a client timed out -Feature: low latency connection enhancements [*net_sync_freq, *net_ready_ahead]
Diffstat (limited to 'economy.c')
-rw-r--r--economy.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/economy.c b/economy.c
index a9e18e0a7..578230688 100644
--- a/economy.c
+++ b/economy.c
@@ -1305,6 +1305,8 @@ void PlayersMonthlyLoop()
if (_patches.inflation)
AddInflation();
PlayersPayInterest();
+ // Reset the _current_player flag
+ _current_player = OWNER_NONE;
HandleEconomyFluctuations();
SubsidyMonthlyHandler();
}