All pastes #396211 Raw Edit

Mine

public text v1 · immutable
·published 2007-03-15 16:25 UTC
rendered paste body
Index: src/game/GossipDef.cpp
===================================================================
--- src/game/GossipDef.cpp	(revision 111)
+++ src/game/GossipDef.cpp	(working copy)
@@ -385,18 +385,16 @@
         data << uint32(pQuest->GetZoneId());
 
     data << uint32(pQuest->GetType());
+    data << uint32(0);//SuggestedPlayers
     data << uint32(pQuest->GetRequiredRepFaction());
     data << uint32(pQuest->GetRequiredRepValue());
     data << uint32(0);
     data << uint32(0);
-    /*SURE?*/data << uint32(0);
 
     data << uint32(pQuest->GetNextQuestInChain());
     data << uint32(pQuest->GetRewOrReqMoney());
     data << uint32(pQuest->GetRewXP());
 
-    data << uint32(0); // spellid, The following spell will be casted on you spell_name
-
     if(pQuest->GetRewSpell())    // check if RewSpell is teaching another spell
     {
         SpellEntry const *rewspell = sSpellStore.LookupEntry(pQuest->GetRewSpell());
@@ -415,7 +413,8 @@
     }
     else
         data << uint32(0);
-
+        
+    data << uint32(pQuest->GetRewSpell());
     data << uint32(pQuest->GetSrcItemId());
     data << uint32(pQuest->GetSpecialFlags());