1
This commit is contained in:
parent
764f4ff43b
commit
f7349279f3
@ -194,14 +194,17 @@ class DynData extends BaseModel {
|
|||||||
private static function internalSetV($x, $y, $val)
|
private static function internalSetV($x, $y, $val)
|
||||||
{
|
{
|
||||||
if (!is_int($x) || !is_int($y)) {
|
if (!is_int($x) || !is_int($y)) {
|
||||||
|
error_log("X type is".gettype($x) . "| Y type is ".gettype($y));
|
||||||
die('internalSet type error');
|
die('internalSet type error');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (abs($x) > 0xFFFFFFFF) {
|
if (abs($x) > 0xFFFFFFFF) {
|
||||||
|
error_log("X abs is".abs($x));
|
||||||
die('internalSet x error');
|
die('internalSet x error');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (abs($y) > 0xFFFFFFFF) {
|
if (abs($y) > 0xFFFFFFFF) {
|
||||||
|
error_log("Y abs is".abs($y));
|
||||||
die('internalSet y error');
|
die('internalSet y error');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user