Fixed some bugs

+Fixed a "division by zero" error, in Battle.php
+Reworked spied informations, now they're shown only if the building is
at least at level 1. Splitted residence/palace information in two
distinct informations. Now the total crannies capacity is displayed
(even if the capacity is 0) instead of the level of the greatest cranny
+Fixed "getFieldLevelInVillage" function in Database.php
-Removed an useless control in Units.php
This commit is contained in:
iopietro
2018-04-16 18:39:41 +02:00
parent e6449d20c6
commit 6f895f7d54
6 changed files with 22 additions and 25 deletions
+1 -1
View File
@@ -3560,7 +3560,7 @@ class MYSQLi_DB implements IDbConnection {
)
) as level
FROM
".TB_PREFIX."fdata`
".TB_PREFIX."fdata
WHERE
vref = $vid
AND