Browse Source

- Reward / Temp Reward now stack count by item id when putting in player inventory, not single item
* Current caveat is the display in the reward box shows them as individual items, the count display was not working.
- Crash fix for Client::GetPendingQuestAcceptance, accepting quest reward after deleting quest
- Addressed temporary quest reward continuously trying to assign reward when quest was deleted
- Fixed sql escape issue with GM /castspell search_string

Emagi 1 year ago
parent
commit
825c57010e
1 changed files with 3 additions and 3 deletions
  1. 3 3
      EQ2/source/WorldServer/client.cpp

+ 3 - 3
EQ2/source/WorldServer/client.cpp

@@ -5643,10 +5643,10 @@ void Client::ProcessQuestUpdates() {
 				LogWrite(CCLIENT__ERROR, 0, "Client", "Quest ID %u missing for Player %s, deleting quest id from tmp_quest_rewards.", questID, GetPlayer()->GetName());
 				break;
 			}
+		}
 			
-			if(delete_first) {
-				RemoveQueuedQuestReward();
-			}
+		if(delete_first) {
+			RemoveQueuedQuestReward();
 		}
 	} else {
 		MQuestPendingUpdates.releasereadlock(__FUNCTION__, __LINE__);