From 670c5e2e1ab34b6bfd12b180bc0264fd90e2dc8c Mon Sep 17 00:00:00 2001 From: KimLS Date: Fri, 9 May 2014 15:06:33 -0700 Subject: [PATCH] Fix for crash in loading loot drops when you hit the actual lootdrop entry limit of 1260 --- common/shareddb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/shareddb.cpp b/common/shareddb.cpp index a49cec4e8..03d6c4c52 100644 --- a/common/shareddb.cpp +++ b/common/shareddb.cpp @@ -2011,7 +2011,7 @@ void SharedDatabase::LoadLootDrops(void *data, uint32 size) { current_id = id; } - if(current_entry > 1260) { + if(current_entry >= 1260) { continue; }