Author: sveinung
Date: Thu Aug  6 19:36:29 2015
New Revision: 29361

URL: http://svn.gna.org/viewcvs/freeciv?rev=29361&view=rev
Log:
Return success when doing an action

Sometimes it is desirable to find out if the action executed by
handle_unit_do_action() was performed or not. Introduce
unit_perform_action(). Make it take over doing the action. It returns TRUE
if the action was successfully executed, FALSE if it wasn't.

See patch #6176

Modified:
    trunk/server/diplomats.c
    trunk/server/diplomats.h
    trunk/server/unithand.c
    trunk/server/unithand.h

[This mail would be too long, it was shortened to contain the URLs only.]

Modified: trunk/server/diplomats.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/server/diplomats.c?rev=29361&r1=29360&r2=29361&view=diff

Modified: trunk/server/diplomats.h
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/server/diplomats.h?rev=29361&r1=29360&r2=29361&view=diff

Modified: trunk/server/unithand.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/server/unithand.c?rev=29361&r1=29360&r2=29361&view=diff

Modified: trunk/server/unithand.h
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/server/unithand.h?rev=29361&r1=29360&r2=29361&view=diff


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

Reply via email to