Skip to content

Commit

Permalink
Disable error to enable sending SD2 events
Browse files Browse the repository at this point in the history
  • Loading branch information
killerwife committed Jun 14, 2017
1 parent 8f8ecc9 commit a86cac6
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/game/ScriptMgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -655,14 +655,7 @@ void ScriptMgr::LoadScripts(ScriptMapMapName& scripts, const char* tablename)
break;
}
case SCRIPT_COMMAND_SEND_AI_EVENT: // 35
{
if (tmp.sendAIEvent.eventType >= MAXIMAL_AI_EVENT_EVENTAI)
{
sLog.outErrorDb("Table `%s` has invalid AI event (datalong = %u) in SCRIPT_COMMAND_SEND_AI_EVENT for script id %u", tablename, tmp.sendAIEvent.eventType, tmp.id);
continue;
}
break;
}
case SCRIPT_COMMAND_SET_FACING: // 36
break;
case SCRIPT_COMMAND_MOVE_DYNAMIC: // 37
Expand Down

0 comments on commit a86cac6

Please sign in to comment.