diff --git a/TileGenerator.cpp b/TileGenerator.cpp index 6cf14d2..a28ae67 100644 --- a/TileGenerator.cpp +++ b/TileGenerator.cpp @@ -426,7 +426,7 @@ void TileGenerator::closeDatabase() m_db = NULL; } -int16_t mod16(int16_t y) +static inline int16_t mod16(int16_t y) { if (y < 0) return (y - 15) / 16;