Author: sveinung
Date: Wed Apr 12 11:53:58 2017
New Revision: 35220

URL: http://svn.gna.org/viewcvs/freeciv?rev=35220&view=rev
Log:
Use 3.0 devel sg compatibility while it is there.

Freeciv 3.1 still has 3.0 development version save game compatibility code.
Use it.

See hrm Feature #651394

Modified:
    trunk/server/savecompat.c

Modified: trunk/server/savecompat.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/server/savecompat.c?rev=35220&r1=35219&r2=35220&view=diff
==============================================================================
--- trunk/server/savecompat.c   (original)
+++ trunk/server/savecompat.c   Wed Apr 12 11:53:58 2017
@@ -163,7 +163,12 @@
   }
 
 #ifdef FREECIV_DEV_SAVE_COMPAT
-  if (loading->version == compat[compat_current].version) {
+  if (loading->version == compat[compat_current].version
+#ifdef FREECIV_DEV_SAVE_COMPAT_3_0
+      /* Make use of 3.0 compatibility while it is there. */
+      || loading->version == 40
+#endif /* FREECIV_DEV_SAVE_COMPAT_3_0 */
+      ) {
     compat_load_dev(loading);
   }
 #endif /* FREECIV_DEV_SAVE_COMPAT */


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

Reply via email to