src/unmovable_cmd.cpp
changeset 6484 79156627e1ba
parent 6453 226bcddeba32
child 6683 b88ae30866ce
equal deleted inserted replaced
6483:ae78fc3c6b20 6484:79156627e1ba
    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