fix hero in battle (should be 100%, tell me if you found bugs)

This commit is contained in:
unknown
2012-06-16 13:08:54 +03:00
parent 4a85b29b8a
commit 02b221fbf6
3 changed files with 52 additions and 21 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ class Units {
if($post['x']!="" && $post['y']!=""){
$oid = $database->getVilWref($post['x'],$post['y']);
}else if($post['dname']!=""){
$oid = $database->getVillageByName($post['dname']);
$oid = $database->getVillageByName(stripslashes($post['dname']));
}
if($database->isVillageOases($oid) != 0){
$too = $database->getOasisField($oid,"conqured");