Changed speed check

This commit is contained in:
Shoghi Cervantes
2013-06-09 16:36:44 +02:00
parent cbe0692696
commit fef0b27f7c
4 changed files with 9 additions and 5 deletions

View File

@@ -52,7 +52,7 @@ class Entity extends Position{
public $fallY;
public $fallStart;
private $tickCounter;
private $speedMeasure = array(0, 0, 0, 0, 0);
private $speedMeasure = array(0, 0, 0);
private $server;
private $isStatic;
public $level;
@@ -778,7 +778,7 @@ class Entity extends Position{
}
public function resetSpeed(){
$this->speedMeasure = array(0, 0, 0, 0, 0);
$this->speedMeasure = array(0, 0, 0);
}
public function getSpeed(){