mirror of
https://github.com/araxiaonline/TrinityCore2.git
synced 2026-06-13 03:22:40 -04:00
More warning fixes
This commit is contained in:
@@ -316,7 +316,8 @@ bool SmartAIMgr::IsEventValid(SmartScriptHolder &e)
|
||||
}
|
||||
else
|
||||
{
|
||||
switch (e.event.type)
|
||||
uint32 type = e.event.type;
|
||||
switch (type)
|
||||
{
|
||||
case SMART_EVENT_UPDATE:
|
||||
case SMART_EVENT_UPDATE_IC:
|
||||
|
||||
Reference in New Issue
Block a user