mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-29 08:34:37 +01:00
cleanup and remove logging.
This commit is contained in:
parent
f64e3d2d3d
commit
20b2eee560
1 changed files with 1 additions and 11 deletions
|
@ -151,17 +151,7 @@ game_reset( MPFORMAL XWGame* game, CurGameInfo* gi, XW_UtilCtxt* util,
|
|||
board_reset( game->board );
|
||||
|
||||
for ( i = 0; i < gi->nPlayers; ++i ) {
|
||||
LocalPlayer* player = &gi->players[i];
|
||||
XP_LOGF( "%s: name[%d] = %s", __FUNCTION__,
|
||||
i, emptyStringIfNull(player->name) );
|
||||
/* Why null out the name???? */
|
||||
/* if ( !player->isLocal ) { */
|
||||
/* if ( !!player->name ) { */
|
||||
/* XP_FREE( mpool, player->name ); */
|
||||
/* } */
|
||||
/* player->name = (XP_UCHAR*)NULL; */
|
||||
/* } */
|
||||
player->secondsUsed = 0;
|
||||
gi->players[i].secondsUsed = 0;
|
||||
}
|
||||
|
||||
server_prefsChanged( game->server, cp );
|
||||
|
|
Loading…
Add table
Reference in a new issue