More warning fixes

This commit is contained in:
Shauren
2011-03-08 19:11:02 +01:00
parent cbbfb52ca7
commit 9710c41a40
19 changed files with 119 additions and 96 deletions

View File

@@ -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: