Author: sveinung
Date: Wed Dec  9 21:01:44 2015
New Revision: 30916

URL: http://svn.gna.org/viewcvs/freeciv?rev=30916&view=rev
Log:
packets.def: make enum achievement_type explicit.

Record in packets.def that the type of PACKET_RULESET_ACHIEVEMENT's type
field is enum achievement_type.

See patch #6656

Modified:
    branches/S2_6/common/packets.def

Modified: branches/S2_6/common/packets.def
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/common/packets.def?rev=30916&r1=30915&r2=30916&view=diff
==============================================================================
--- branches/S2_6/common/packets.def    (original)
+++ branches/S2_6/common/packets.def    Wed Dec  9 21:01:44 2015
@@ -206,6 +206,7 @@
 type WORKLIST           = worklist(struct worklist)
 
 # typedefs for enums
+type ACHIEVMENT_TYPE    = uint8(enum achievement_type)
 type ACTIVITY           = uint8(enum unit_activity)
 type AIRLIFTING_STYLE   = uint8(enum airlifting_style)
 type PERSISTENT_READY   = uint8(enum persistent_ready)
@@ -1636,7 +1637,7 @@
   UINT8 id;
   STRING name[MAX_LEN_NAME];
   STRING rule_name[MAX_LEN_NAME];
-  UINT8 type;
+  ACHIEVMENT_TYPE type;
   BOOL unique;
   UINT16 value;
 end


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

Reply via email to