mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
[12066] Optimize some parts for ++C
This commit is contained in:
parent
ba86b02dd4
commit
3707b04330
48 changed files with 163 additions and 163 deletions
|
|
@ -73,13 +73,13 @@ void WorldSession::HandleCalendarGetCalendar(WorldPacket& /*recv_data*/)
|
|||
data << uint32(0); // Holidays.dbc priority
|
||||
data << uint32(0); // Holidays.dbc calendarFilterType
|
||||
|
||||
for(uint32 j = 0; j < 26; j++)
|
||||
for(uint32 j = 0; j < 26; ++j)
|
||||
data << uint32(0); // Holidays.dbc date
|
||||
|
||||
for(uint32 j = 0; j < 10; j++)
|
||||
for(uint32 j = 0; j < 10; ++j)
|
||||
data << uint32(0); // Holidays.dbc duration
|
||||
|
||||
for(uint32 j = 0; j < 10; j++)
|
||||
for(uint32 j = 0; j < 10; ++j)
|
||||
data << uint32(0); // Holidays.dbc calendarFlags
|
||||
|
||||
data << ""; // Holidays.dbc textureFilename
|
||||
|
|
@ -139,7 +139,7 @@ void WorldSession::HandleCalendarAddEvent(WorldPacket& recv_data)
|
|||
// {
|
||||
// uint8 unk12,unk13;
|
||||
// ObjectGuid guid;
|
||||
// for (int i=0;i<count;i++)
|
||||
// for (int i = 0; i < count; ++i)
|
||||
// {
|
||||
// recv_data >> guid.ReadAsPacked();
|
||||
// recv_data >> (uint8)unk12;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue