Author: sveinung
Date: Fri Jun 24 12:30:25 2016
New Revision: 33010

URL: http://svn.gna.org/viewcvs/freeciv?rev=33010&view=rev
Log:
Make action_prob_is_signal() identify signals.

See bug #24783

Modified:
    branches/S2_6/common/actions.c

Modified: branches/S2_6/common/actions.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/common/actions.c?rev=33010&r1=33009&r2=33010&view=diff
==============================================================================
--- branches/S2_6/common/actions.c      (original)
+++ branches/S2_6/common/actions.c      Fri Jun 24 12:30:25 2016
@@ -1333,7 +1333,7 @@
 **************************************************************************/
 static inline bool action_prob_is_signal(action_probability probability)
 {
-  return probability < 0 && probability > 200;
+  return probability < 0 || probability > 200;
 }
 #endif /* FREECIV_NDEBUG */
 


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

Reply via email to