src/ai/api/ai_object.hpp
branchnoai
changeset 9695 708f1e3cc4c4
parent 9682 d031eb183733
child 9760 265fdd2130c3
equal deleted inserted replaced
9694:e72987579514 9695:708f1e3cc4c4
    39 
    39 
    40 protected:
    40 protected:
    41 	/**
    41 	/**
    42 	 * Executes a raw DoCommand for the AI.
    42 	 * Executes a raw DoCommand for the AI.
    43 	 */
    43 	 */
    44 	static bool DoCommand(TileIndex tile, uint32 p1, uint32 p2, uint procc);
    44 	static bool DoCommand(TileIndex tile, uint32 p1, uint32 p2, uint procc, bool water_protection = true);
    45 
    45 
    46 	/**
    46 	/**
    47 	 * Sets the DoCommand costs counter to a value.
    47 	 * Sets the DoCommand costs counter to a value.
    48 	 */
    48 	 */
    49 	static void SetDoCommandCosts(Money value);
    49 	static void SetDoCommandCosts(Money value);