unmovable_cmd.c
changeset 2817 cdf488223c23
parent 2537 5e4ca74e995a
child 2893 8861b61a7d2b
equal deleted inserted replaced
2816:9b55f64bff29 2817:cdf488223c23
    21  * During normal gameplay you can only implicitely destroy a HQ when you are
    21  * During normal gameplay you can only implicitely destroy a HQ when you are
    22  * rebuilding it. Otherwise, only water can destroy it.
    22  * rebuilding it. Otherwise, only water can destroy it.
    23  * @param tile tile coordinates where HQ is located to destroy
    23  * @param tile tile coordinates where HQ is located to destroy
    24  * @param flags docommand flags of calling function
    24  * @param flags docommand flags of calling function
    25  */
    25  */
    26 int32 DestroyCompanyHQ(TileIndex tile, uint32 flags)
    26 static int32 DestroyCompanyHQ(TileIndex tile, uint32 flags)
    27 {
    27 {
    28 	Player *p;
    28 	Player *p;
    29 
    29 
    30 	SET_EXPENSES_TYPE(EXPENSES_PROPERTY);
    30 	SET_EXPENSES_TYPE(EXPENSES_PROPERTY);
    31 
    31