(svn r14761) -Fix (r14730): missed the one DEREF_CLIENT in the random debug code :(

This commit is contained in:
rubidium
2008-12-28 22:23:43 +00:00
parent 3b08d2ecaa
commit 5c8a281e00

View File

@@ -41,7 +41,7 @@ void SetRandomSeed(uint32 seed)
uint32 DoRandom(int line, const char *file)
{
if (_networking && (DEREF_CLIENT(0)->status != STATUS_INACTIVE || !_network_server)) {
if (_networking && (GetNetworkClientSocket(0)->status != STATUS_INACTIVE || !_network_server)) {
printf("Random [%d/%d] %s:%d\n", _frame_counter, (byte)_current_company, file, line);
}