mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-15 15:41:24 +01:00
add assertion
This commit is contained in:
parent
acb52d11dc
commit
9a035c66ff
1 changed files with 1 additions and 0 deletions
|
@ -637,6 +637,7 @@ SafeCref::SafeCref( const char* connName, HostID hid,
|
|||
, m_isValid( false )
|
||||
{
|
||||
CookieRef* cref;
|
||||
assert( hid <= 4 ); /* no more than 4 hosts */
|
||||
|
||||
cref = m_mgr->getMakeCookieRef( connName, hid, socket, nPlayersH, gameSeed );
|
||||
if ( cref != NULL ) {
|
||||
|
|
Loading…
Reference in a new issue