mirror of
https://github.com/minetest/minetestmapper.git
synced 2024-09-27 23:10:22 +02:00
Use static inline
Co-authored-by: sfan5 <sfan5@live.de>
This commit is contained in:
parent
a578d25212
commit
1d62e3776f
|
@ -426,7 +426,7 @@ void TileGenerator::closeDatabase()
|
||||||
m_db = NULL;
|
m_db = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
int16_t mod16(int16_t y)
|
static inline int16_t mod16(int16_t y)
|
||||||
{
|
{
|
||||||
if (y < 0)
|
if (y < 0)
|
||||||
return (y - 15) / 16;
|
return (y - 15) / 16;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user