- removed unnessecary limit from displayed creatures/objects per zone

- check if g_pageInfo exists, before attempting to overwrite it
This commit is contained in:
Sarjuuk
2015-06-06 20:53:25 +02:00
parent 2e327b7cc0
commit 81a5a527ec
2 changed files with 2 additions and 2 deletions

View File

@@ -170,7 +170,7 @@ class ZonePage extends GenericPage
$oSpawns = DB::Aowow()->select('SELECT * FROM ?_spawns WHERE areaId = ?d AND type = ?d', $this->typeId, TYPE_OBJECT);
$cSpawns = DB::Aowow()->select('SELECT * FROM ?_spawns WHERE areaId = ?d AND type = ?d', $this->typeId, TYPE_NPC);
$conditions = [['s.areaId', $this->typeId]];
$conditions = [CFG_SQL_LIMIT_NONE, ['s.areaId', $this->typeId]];
if (!User::isInGroup(U_GROUP_STAFF))
$conditions[] = [['cuFlags', CUSTOM_EXCLUDE_FOR_LISTVIEW, '&'], 0];