289 |
if (g->rules->bid == LIBMT_BID_UNDEF) |
if (g->rules->bid == LIBMT_BID_UNDEF) |
290 |
{ |
{ |
291 |
g->rules->bid = g->rules->bids[pos]; |
g->rules->bid = g->rules->bids[pos]; |
292 |
|
g->rules->preneur = pos; |
293 |
p->state = PLAYER_STATE_WAIT_FOR_PLAYERS; |
p->state = PLAYER_STATE_WAIT_FOR_PLAYERS; |
294 |
p->state_change_date = 0; |
p->state_change_date = 0; |
295 |
} |
} |
298 |
if (LIBMT_BID_CMP (g->rules->bids[pos], g->rules->bid) > 0) |
if (LIBMT_BID_CMP (g->rules->bids[pos], g->rules->bid) > 0) |
299 |
{ |
{ |
300 |
g->rules->bid = g->rules->bids[pos]; |
g->rules->bid = g->rules->bids[pos]; |
301 |
|
g->rules->preneur = pos; |
302 |
p->state = PLAYER_STATE_WAIT_FOR_PLAYERS; |
p->state = PLAYER_STATE_WAIT_FOR_PLAYERS; |
303 |
p->state_change_date = 0; |
p->state_change_date = 0; |
304 |
} |
} |