URL:
  <http://gna.org/bugs/?19458>

                 Summary: assertion 'activity_requires_target(new_activity)'
failed.
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Thu 16 Feb 2012 03:33:59 AM EET
                Category: general
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: In Progress
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: 
         Discussion Lock: Any
        Operating System: None
         Planned Release: 

    _______________________________________________________

Details:

I'm yet to reproduce this with unmodified freeciv source, but debugging so far
indicates that bug exist there.

When unit_activity_handling_targeted() is called with ACTIVITY_PILLAGE, it
correctly first detects that activity is one requiring target, and takes code
route for that. There it first calls unit_assign_specific_activity_target(),
*which may change ACTIVITY_PILLAGE to ACTIVITY_IDLE*, and then, without
checking that activity is still one requiring target, calls
set_unit_activity_targeted()




    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?19458>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to