src/unmovable_cmd.cpp
branchgamebalance
changeset 9909 dce9a6923bb7
parent 9908 0fa543611bbe
child 9912 1ac8aac92385
equal deleted inserted replaced
9908:0fa543611bbe 9909:dce9a6923bb7
    25 #include "bridge.h"
    25 #include "bridge.h"
    26 
    26 
    27 /** Destroy a HQ.
    27 /** Destroy a HQ.
    28  * During normal gameplay you can only implicitely destroy a HQ when you are
    28  * During normal gameplay you can only implicitely destroy a HQ when you are
    29  * rebuilding it. Otherwise, only water can destroy it.
    29  * rebuilding it. Otherwise, only water can destroy it.
    30  * @param tile tile coordinates where HQ is located to destroy
    30  * @param pid Player requesting the destruction of his HQ
    31  * @param flags docommand flags of calling function
    31  * @param flags docommand flags of calling function
       
    32  * @return cost of the operation
    32  */
    33  */
    33 static int32 DestroyCompanyHQ(PlayerID pid, uint32 flags)
    34 static int32 DestroyCompanyHQ(PlayerID pid, uint32 flags)
    34 {
    35 {
    35 	Player* p = GetPlayer(pid);
    36 	Player* p = GetPlayer(pid);
    36 
    37