Complete.Org: Mailing Lists: Archives: freeciv-ai: September 2004:
[freeciv-ai] Bug: Assert in aiferry.c
Home

[freeciv-ai] Bug: Assert in aiferry.c

[Top] [All Lists]

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


   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-ai] Bug: Assert in aiferry.c, Jordi Negrevernis i Font <=