Update Spells.cpp

This commit is contained in:
image 2020-09-10 07:39:38 -04:00
parent 80fc1e4a2f
commit 2efb43d1f1

View file

@ -155,7 +155,7 @@ Spell::Spell(Spell* host_spell)
}
vector<LUAData*>::iterator luaitr;
for (luaitr = lua_data.begin(); luaitr != lua_data.end(); luaitr++) {
for (luaitr = host_spell->lua_data.begin(); luaitr != host_spell->lua_data.end(); luaitr++) {
LUAData* data = *luaitr;
AddSpellLuaData(data->type, data->int_value, data->int_value2, data->float_value, data->float_value2, data->bool_value, string(data->string_value), string(data->string_value2), string(data->string_helper));
}