Updated fields to match current database

This commit is contained in:
cabfever
2015-01-29 23:40:08 +00:00
committed by Antz
parent 6cd6c20a26
commit f3df2e3052
7 changed files with 16 additions and 16 deletions
+2 -2
View File
@@ -37,9 +37,9 @@ if (!$npcs = load_cache(2, $cache_str)) {
FROM ?_aowow_factiontemplate, ?_creature_template c
{ LEFT JOIN (?_locales_creature l) ON l.entry=c.entry AND ? }
WHERE 1=1
{AND type=?}
{AND creatureType=?}
{AND family=?}
AND factiontemplateID=faction_A
AND factiontemplateID=FactionAlliance
ORDER BY minlevel DESC, name
{LIMIT ?d}
', $npc_cols[0], ($_SESSION['locale'] > 0) ? $_SESSION['locale'] : DBSIMPLE_SKIP, ($_SESSION['locale'] > 0) ? 1 : DBSIMPLE_SKIP, ($type != '') ? $type : DBSIMPLE_SKIP, (isset($family)) ? $family : DBSIMPLE_SKIP, ($UDWBaseconf['limit'] != 0) ? $UDWBaseconf['limit'] : DBSIMPLE_SKIP