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)
|
||||
{
|
||||
if (!is_int($x) || !is_int($y)) {
|
||||
error_log("X type is".gettype($x) . "| Y type is ".gettype($y));
|
||||
die('internalSet type error');
|
||||
return;
|
||||
}
|
||||
if (abs($x) > 0xFFFFFFFF) {
|
||||
error_log("X abs is".abs($x));
|
||||
die('internalSet x error');
|
||||
return;
|
||||
}
|
||||
if (abs($y) > 0xFFFFFFFF) {
|
||||
error_log("Y abs is".abs($y));
|
||||
die('internalSet y error');
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user