mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[9397] Fixed unexpected rounding in healamount = healamount * int32(TakenTotalMod);
This commit is contained in:
parent
9e4829ecef
commit
f9db93e78b
7 changed files with 41 additions and 40 deletions
|
|
@ -8447,7 +8447,7 @@ uint32 ObjectMgr::GetScriptId(const char *name)
|
|||
ScriptNameMap::const_iterator itr =
|
||||
std::lower_bound(m_scriptNames.begin(), m_scriptNames.end(), name);
|
||||
if(itr == m_scriptNames.end() || *itr != name) return 0;
|
||||
return itr - m_scriptNames.begin();
|
||||
return uint32(itr - m_scriptNames.begin());
|
||||
}
|
||||
|
||||
void ObjectMgr::CheckScripts(ScriptMapMap const& scripts,std::set<int32>& ids)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue