/[maitretarot]/game_server/src/callbacks.c
ViewVC logotype

Diff of /game_server/src/callbacks.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.11 by ymettier, Mon Apr 28 00:25:56 2003 UTC revision 1.12 by ymettier, Tue Jun 10 22:01:26 2003 UTC
# Line 289  protocol_say_bid_cb (int sock_id, GStrin Line 289  protocol_say_bid_cb (int sock_id, GStrin
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          }          }
# Line 297  protocol_say_bid_cb (int sock_id, GStrin Line 298  protocol_say_bid_cb (int sock_id, GStrin
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              }              }

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26