Add: Allow GameScript to demolish without a company
This allows GameScripts to shrink towns as well as grow them.
This commit is contained in:

committed by
Niels Martin Hansen

parent
9014633866
commit
e4414471dd
@@ -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.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user