summaryrefslogtreecommitdiff
path: root/town.h
diff options
context:
space:
mode:
Diffstat (limited to 'town.h')
-rw-r--r--town.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/town.h b/town.h
index 25c835ae1..89a5cbb1c 100644
--- a/town.h
+++ b/town.h
@@ -138,7 +138,7 @@ extern MemoryPool _town_pool;
/**
* Check if a Town really exists.
*/
-static inline bool IsValidTown(Town* town)
+static inline bool IsValidTown(const Town* town)
{
return town->xy != 0; /* XXX: Replace by INVALID_TILE someday */
}