diff options
Diffstat (limited to 'src/map_func.h')
-rw-r--r-- | src/map_func.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map_func.h b/src/map_func.h index e00251243..d4993b94b 100644 --- a/src/map_func.h +++ b/src/map_func.h @@ -151,13 +151,14 @@ static inline uint LayerMaxY() return LayerSizeY() - 1; } +extern uint _layer_count; + /** * Get the layer counts * @return the number of layers */ static inline uint LayerCount() { - extern uint _layer_count; return _layer_count; } |