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

                 Summary: TRUNK : Airliftable unit classes are inverted
                 Project: Freeciv
            Submitted by: igx31
            Submitted on: dim. 26 oct. 2014 20:57:42 UTC
                Category: general
                Severity: 4 - Important
                Priority: 5 - Normal
                  Status: None
             Assigned to: persia
        Originator Email: 
             Open/Closed: Open
                 Release: 26529
         Discussion Lock: Any
        Operating System: Any
         Planned Release: 

    _______________________________________________________

Details:

Currently, running the trunk code, I can airlift submarines, but not
riflemen...

Even though I don't have much experience in Freeciv code, it seems to me that
the airlitables units classes have been inverted in release r24827. In
trunk/common/unit.c, function test_unit_can_airlift_to, the following test :

>  if (uclass_has_flag(unit_class(punit), UCF_AIRLIFTABLE)) {
>    return AR_WRONG_UNITTYPE;
>  }

...should be inverted.

Do you agree ?





    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via/par Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to