mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-24 03:56:43 +00:00
Fix: [Script] IsBuildableRectangle for a 0x0 tile should return false (#15357)
This commit is contained in:
committed by
Peter Nelson
parent
d9e977c823
commit
31ed643942
@@ -157,8 +157,8 @@ public:
|
||||
* @param width The width of the rectangle.
|
||||
* @param height The height of the rectangle.
|
||||
* @pre ScriptMap::IsValidTile(tile).
|
||||
* @pre width >= 0.
|
||||
* @pre height >= 0.
|
||||
* @pre width > 0.
|
||||
* @pre height > 0.
|
||||
* @return True if it is buildable, false if not.
|
||||
*/
|
||||
static bool IsBuildableRectangle(TileIndex tile, SQInteger width, SQInteger height);
|
||||
|
||||
Reference in New Issue
Block a user