fix some movement problems

This commit is contained in:
unknown
2012-06-16 22:04:22 +03:00
parent 46faa7dab0
commit 97d4dc1f16
3 changed files with 23 additions and 36 deletions
+1 -1
View File
@@ -2374,7 +2374,7 @@ $crannyimg = "<img src=\"".GP_LOCATE."img/g/g23.gif\" height=\"20\" width=\"15\"
}else{
$fastertroops = 1;
}
$endtime = round($this->procDistanceTime($from,$to,min($speeds),1)/$fastertroops) + $AttackArrivalTime;
$endtime = round($this->procDistanceTime($from,$to,min($speeds),1)/$fastertroops) + time();
//$endtime = $this->procDistanceTime($from,$to,min($speeds),1) + time();
if($type == 1) {
$database->addNotice($from['owner'],$to['wref'],$ownally,18,''.addslashes($from['name']).' scouts '.addslashes($to['name']).'',$data2,$AttackArrivalTime);