diff --git a/webapp/models/DynData.php b/webapp/models/DynData.php index 3a748fa..778a3e7 100644 --- a/webapp/models/DynData.php +++ b/webapp/models/DynData.php @@ -70,7 +70,10 @@ class DynData extends BaseModel { public static function calcKey($x, $y) { - $key = self::calcKey($x, $y); + $low32 = (int)$x; + $high32 = (int)$y; + $key = $low32 + ($high32 << 32); + return $key; } private static function internalSetV($x, $y, $val)