Author: sveinung Date: Thu Aug 20 15:42:16 2015 New Revision: 29613 URL: http://svn.gna.org/viewcvs/freeciv?rev=29613&view=rev Log: Tell what action had a broken enabler
See patch #6260 Modified: trunk/server/rssanity.c Modified: trunk/server/rssanity.c URL: http://svn.gna.org/viewcvs/freeciv/trunk/server/rssanity.c?rev=29613&r1=29612&r2=29613&view=diff ============================================================================== --- trunk/server/rssanity.c (original) +++ trunk/server/rssanity.c Thu Aug 20 15:42:16 2015 @@ -807,7 +807,8 @@ || !sanity_check_req_vec(&(enabler->target_reqs), TRUE, -1, "Action Enabler Target Reqs")) { ruleset_error(LOG_ERROR, - "Action Enablers have conflicting or invalid requirements!"); + "Action enabler for %s has conflicting or invalid " + "requirements!", action_get_rule_name(act)); ok = FALSE; } } action_enabler_list_iterate_end; _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits