Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2004:
[Freeciv-Dev] (PR#10790) [freeciv-ai] Bug: Assert in aiferry.c (fwd)
Home

[Freeciv-Dev] (PR#10790) [freeciv-ai] Bug: Assert in aiferry.c (fwd)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#10790) [freeciv-ai] Bug: Assert in aiferry.c (fwd)
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Sat, 30 Oct 2004 04:54:32 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=10790 >

---------- Forwarded message ----------
Date: Sun, 05 Sep 2004 17:50:37 +0200
From: Jordi Negrevernis i Font <jorneg@xxxxxxxxxxx>
To: freeciv-ai@xxxxxxxxxxx
Subject: [freeciv-ai] Bug: Assert in aiferry.c


    The line:

    handle_unit_load(pplayer, punit->id, ferryboat->id);
    assert(punit->transported_by > 0);
  }

    Asserts a lot in current cvs!

    It can happen that the move fails. So, it will great if there would
be only a message and a return like in the paragraph above.






[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#10790) [freeciv-ai] Bug: Assert in aiferry.c (fwd), Per I. Mathisen <=