currently this quest variable is passing client->GetID() instead of client->CharacterID(), which the function wants
not sure if this will cause problems with anything else so if it gets committed make sure you look for problems or something (I didn't find any)
Code:
Index: EQEmuServer/zone/embparser.cpp
===================================================================
--- EQEmuServer/zone/embparser.cpp (revision 899)
+++ EQEmuServer/zone/embparser.cpp (working copy)
@@ -368,7 +368,7 @@
// Need to figure out why one of these casts would fail..
if (client && npc) {
- fac = client->GetFactionLevel(client->GetID(), npcmob->GetID(), client->GetRace(), client->GetClass(), DEITY_AGNOSTIC, npc->GetPrimaryFaction(), npcmob);
+ fac = client->GetFactionLevel(client->CharacterID(), npcmob->GetID(), client->GetRace(), client->GetClass(), DEITY_AGNOSTIC, npc->GetPrimaryFaction(), npcmob);
}
else if (!client) {
LogFile->write(EQEMuLog::Status, "WARNING: cast failure on mob->CastToClient()");