[7146] Trailing whitespace code cleanup

Signed-off-by: freghar <compmancz@gmail.com>
This commit is contained in:
freghar 2009-01-22 18:09:34 +01:00
parent 1cae7220fa
commit 11ed0e99a8
23 changed files with 54 additions and 54 deletions

View file

@ -258,7 +258,7 @@ void Object::DestroyForPlayer(Player *target) const
void Object::_BuildMovementUpdate(ByteBuffer * data, uint8 flags, uint32 flags2) const
{
uint16 unk_flags = ((GetTypeId() == TYPEID_PLAYER) ? ((Player*)this)->m_movementInfo.unk1 : 0);
if(GetTypeId() == TYPEID_UNIT)
if(((Creature*)this)->isVehicle())
unk_flags |= 0x20; // always allow pitch