]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/database.cpp
Translated using Weblate (Korean)
[dragonfireclient.git] / src / database.cpp
index 26f6992fcb47e7e84b5fad70707857fcaa1cd857..262d475ec5554b25c5c4f2a6b8331dfedf3e2ef8 100644 (file)
@@ -48,7 +48,7 @@ static inline s64 pythonmodulo(s64 i, s16 mod)
 }
 
 
-s64 Database::getBlockAsInteger(const v3s16 pos) const
+s64 Database::getBlockAsInteger(const v3s16 &pos)
 {
        return (u64) pos.Z * 0x1000000 +
                (u64) pos.Y * 0x1000 +
@@ -56,7 +56,7 @@ s64 Database::getBlockAsInteger(const v3s16 pos) const
 }
 
 
-v3s16 Database::getIntegerAsBlock(s64 i) const
+v3s16 Database::getIntegerAsBlock(s64 i)
 {
        v3s16 pos;
        pos.X = unsigned_to_signed(pythonmodulo(i, 4096), 2048);