diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/random_func.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/random_func.cpp b/src/core/random_func.cpp index b64d5b9d6..6e9cb0a94 100644 --- a/src/core/random_func.cpp +++ b/src/core/random_func.cpp @@ -40,7 +40,7 @@ void SetRandomSeed(uint32 seed) uint32 DoRandom(int line, const char *file) { - if (_networking && (GetNetworkClientSocket(0)->status != STATUS_INACTIVE || !_network_server)) { + if (_networking && (NetworkClientSocket::Get(0)->status != STATUS_INACTIVE || !_network_server)) { printf("Random [%d/%d] %s:%d\n", _frame_counter, (byte)_current_company, file, line); } |