Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 288295
Collapse All | Expand All

(-)dopewars/trunk/src/serverside.c (+6 lines)
Lines 504-509 Link Here
504
    break;
504
    break;
505
  case C_REQUESTJET:
505
  case C_REQUESTJET:
506
    i = atoi(Data);
506
    i = atoi(Data);
507
    /* Make sure value is within range */
508
    if (i < 0 || i >= NumLocation) {
509
      dopelog(3, LF_SERVER, _("%s: DENIED jet to invalid location %s"),
510
              GetPlayerName(Play), Data);
511
      break;
512
    }
507
    if (Play->EventNum == E_FIGHT || Play->EventNum == E_FIGHTASK) {
513
    if (Play->EventNum == E_FIGHT || Play->EventNum == E_FIGHTASK) {
508
      if (CanRunHere(Play)) {
514
      if (CanRunHere(Play)) {
509
        break;
515
        break;

Return to bug 288295