Author: sveinung
Date: Thu Jan  7 06:52:05 2016
New Revision: 31397

URL: http://svn.gna.org/viewcvs/freeciv?rev=31397&view=rev
Log:
Fix misplaced paren in reseach_update().

See bug #24281

Modified:
    trunk/common/research.c

Modified: trunk/common/research.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/common/research.c?rev=31397&r1=31396&r2=31397&view=diff
==============================================================================
--- trunk/common/research.c     (original)
+++ trunk/common/research.c     Thu Jan  7 06:52:05 2016
@@ -528,8 +528,8 @@
                      == TECH_KNOWN)
                  && (presearch->inventions[advance_required(i, AR_TWO)].state
                      == TECH_KNOWN)
-                 && (research_is_allowed(presearch, i)
-                     ? TECH_PREREQS_KNOWN : TECH_UNKNOWN));
+                 && research_is_allowed(presearch, i)
+                 ? TECH_PREREQS_KNOWN : TECH_UNKNOWN);
       }
     } else {
       fc_assert(state == TECH_UNKNOWN);


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

Reply via email to