Core: Remove lots warnings:

- All "'xxx' will be initialized after 'yyy' when initialized here"
- Some "unused variable"
- Some "enumeration value 'xxx' not handled in switch"

--HG--
branch : trunk
This commit is contained in:
Spp
2010-08-21 20:08:47 +02:00
parent 6714feb3ee
commit c3343638cb
45 changed files with 253 additions and 215 deletions
@@ -179,7 +179,7 @@ void MapManager::LoadTransportNPCs()
sLog.outString(">> Loaded %u transport npcs", count);
}
Transport::Transport(uint32 period, uint32 script) : m_period(period), ScriptId(script), GameObject()
Transport::Transport(uint32 period, uint32 script) : GameObject(), m_period(period), ScriptId(script)
{
m_updateFlag = (UPDATEFLAG_TRANSPORT | UPDATEFLAG_HIGHGUID | UPDATEFLAG_HAS_POSITION | UPDATEFLAG_ROTATION);
}