Add: Allow GameScript to demolish without a company

This allows GameScripts to shrink towns as well as grow them.
This commit is contained in:
Max Maton
2019-09-03 22:50:58 +02:00
committed by Niels Martin Hansen
parent 9014633866
commit e4414471dd
4 changed files with 4 additions and 3 deletions

View File

@@ -445,7 +445,6 @@ public:
* Destroy everything on the given tile.
* @param tile The tile to demolish.
* @pre ScriptMap::IsValidTile(tile).
* @game @pre Valid ScriptCompanyMode active in scope.
* @exception ScriptError::ERR_AREA_NOT_CLEAR
* @return True if and only if the tile was demolished.
*/