mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
Applied coding style.
This commit is contained in:
parent
e454cb693d
commit
a57bf5a78b
5 changed files with 7 additions and 6 deletions
|
|
@ -1,6 +1,7 @@
|
|||
#include "adtfile.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
char * GetPlainName(char * FileName)
|
||||
{
|
||||
char * szTemp;
|
||||
|
|
|
|||
|
|
@ -439,7 +439,7 @@ void WorldSession::HandleItemQuerySingleOpcode( WorldPacket & recv_data )
|
|||
data << pProto->ArmorDamageModifier;
|
||||
data << pProto->Duration; // added in 2.4.2.8209, duration (seconds)
|
||||
data << pProto->ItemLimitCategory; // WotLK, ItemLimitCategory
|
||||
data << uint32(0); // Holiday.dbc?
|
||||
data << pProto->HolidayId; // Holiday.dbc?
|
||||
SendPacket( &data );
|
||||
}
|
||||
else
|
||||
|
|
|
|||
|
|
@ -336,7 +336,7 @@ void WorldSession::HandleMovementOpcodes( WorldPacket & recv_data )
|
|||
{
|
||||
if(Map *map = mover->GetMap())
|
||||
map->CreatureRelocation((Creature*)mover, movementInfo.x, movementInfo.y, movementInfo.z, movementInfo.o);
|
||||
//mover->SetUnitMovementFlags(movementInfo.flags);
|
||||
mover->SetUnitMovementFlags(movementInfo.flags);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue