(svn r11157) -Fix: some random data was printed because printf "thought" that _current_player is 4 bytes instead of 1 byte, causing the random debug output to be useless.

This commit is contained in:
rubidium 2007-09-24 20:55:13 +00:00
parent 54fe17050b
commit db0e01bd7b
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ uint32 t;
#ifdef RANDOM_DEBUG
if (_networking && (DEREF_CLIENT(0)->status != STATUS_INACTIVE || !_network_server))
printf("Random [%d/%d] %s:%d\n",_frame_counter, _current_player, file, line);
printf("Random [%d/%d] %s:%d\n",_frame_counter, (byte)_current_player, file, line);
#endif
s = _random_seeds[0][0];