DjWarmonger 14 年之前
父節點
當前提交
8c7f574b01
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/CSpellHandler.cpp

+ 1 - 1
lib/CSpellHandler.cpp

@@ -311,7 +311,7 @@ void CSpellHandler::loadSpells()
 		spells[spellID]->range.resize(4);
 		int idx = 0;
 		BOOST_FOREACH(const JsonNode &range, spell["ranges"].Vector())
-			spells[spellID]->range[idx] = range.String();
+			spells[spellID]->range[idx++] = range.String();
 	}
 
 	spells.push_back(spells[80]); //clone Acid Breath attributes for Acid Breath damage effect