mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 17:19:07 +00:00
chore (core): Clean up (#15977)
* chore (core): Clean up * Update SmartScript.cpp * more clean up * Update boss_xt002.cpp
This commit is contained in:
@@ -288,7 +288,6 @@ void SmartAIMgr::LoadSmartAIFromDB()
|
||||
break;
|
||||
}
|
||||
|
||||
// xinef: rozpierdol tc, niedojeby ze szok
|
||||
if (temp.action.type == SMART_ACTION_MOVE_TO_POS)
|
||||
if (temp.target.type == SMART_TARGET_SELF && (std::fabs(temp.target.x) > 200.0f || std::fabs(temp.target.y) > 200.0f || std::fabs(temp.target.z) > 200.0f))
|
||||
temp.target.type = SMART_TARGET_POSITION;
|
||||
|
||||
Reference in New Issue
Block a user