Move scripts for Onyxia and Nefarian heads to database.
Also corrected data for related gameobjects based on cmangos. https://github.com/cmangos/tbc-db/commit/a175805654a347c0a554910ca9c1485568c57b11 https://github.com/cmangos/tbc-db/commit/e9a75b4b82aa317a61afdd4bf17de1809802d824
This commit is contained in:
@@ -1206,6 +1206,16 @@ void ScriptMgr::LoadScripts(ScriptMapMap& scripts, const char* tablename)
|
||||
}
|
||||
break;
|
||||
}
|
||||
case SCRIPT_COMMAND_SET_GO_STATE:
|
||||
{
|
||||
if (tmp.setGoState.state > GO_STATE_ACTIVE_ALTERNATIVE)
|
||||
{
|
||||
sLog.outErrorDb("Table `%s` using invalid go state in datalong (%u) in SCRIPT_COMMAND_SET_GO_STATE for script id %u",
|
||||
tablename, tmp.setGoState.state, tmp.id);
|
||||
continue;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (scripts.find(tmp.id) == scripts.end())
|
||||
|
||||
Reference in New Issue
Block a user