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
@@ -75,8 +75,8 @@ if (!$faction = load_cache(18, intval($id))) {
SELECT ?#, entry
FROM ?_creature_template, ?_aowow_factiontemplate
WHERE
faction_A IN (SELECT factiontemplateID FROM ?_aowow_factiontemplate WHERE factionID=?d)
AND factiontemplateID=faction_A
FactionAlliance IN (SELECT factiontemplateID FROM ?_aowow_factiontemplate WHERE factionID=?d)
AND factiontemplateID=FactionAlliance
', $npc_cols[0], $id
);
if ($creature_rows) {