Author: sveinung
Date: Fri Dec  4 08:56:42 2015
New Revision: 30853

URL: http://svn.gna.org/viewcvs/freeciv?rev=30853&view=rev
Log:
protocol: type of type is diplstate_type

Record in packets.def that PLAYER_DIPLSTATE's type field's type is the
diplstate_type enum.

See patch #6647

Modified:
    trunk/common/packets.def

Modified: trunk/common/packets.def
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/common/packets.def?rev=30853&r1=30852&r2=30853&view=diff
==============================================================================
--- trunk/common/packets.def    (original)
+++ trunk/common/packets.def    Fri Dec  4 08:56:42 2015
@@ -219,6 +219,7 @@
 type CLAUSE             = uint8(enum clause_type)
 type CMDLEVEL           = uint8(enum cmdlevel)
 type DIPLOMACY_MODE     = uint8(enum diplomacy_mode)
+type DIPLSTATE_TYPE     = uint8(enum diplstate_type)
 type DIRECTION          = sint8(enum direction8)
 type EFFECT_TYPE        = uint8(enum effect_type)
 type EVENT              = sint16(enum event_type)
@@ -859,7 +860,7 @@
   UINT32 diplstate_id; key
   PLAYER plr1;
   PLAYER plr2;
-  UINT8 type;
+  DIPLSTATE_TYPE type;
   UINT16 turns_left;
   UINT8 has_reason_to_cancel;
   UINT16 contact_turns_left;


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

Reply via email to