mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[7733] Fixed compile error on VC2005ee.
This commit is contained in:
parent
cb72302a8a
commit
6192fcbd0c
4 changed files with 5 additions and 5 deletions
|
|
@ -436,9 +436,9 @@ void Transport::TeleportTransport(uint32 newMapid, float x, float y, float z)
|
||||||
SetMapId(newMapid);
|
SetMapId(newMapid);
|
||||||
Relocate(x, y, z);
|
Relocate(x, y, z);
|
||||||
|
|
||||||
for(PlayerSet::const_iterator itr = m_passengers.begin(); itr != m_passengers.end();)
|
for(PlayerSet::iterator itr = m_passengers.begin(); itr != m_passengers.end();)
|
||||||
{
|
{
|
||||||
PlayerSet::const_iterator it2 = itr;
|
PlayerSet::iterator it2 = itr;
|
||||||
++itr;
|
++itr;
|
||||||
|
|
||||||
Player *plr = *it2;
|
Player *plr = *it2;
|
||||||
|
|
|
||||||
|
|
@ -7284,7 +7284,7 @@ void Unit::RemoveAllAttackers()
|
||||||
{
|
{
|
||||||
while (!m_attackers.empty())
|
while (!m_attackers.empty())
|
||||||
{
|
{
|
||||||
AttackerSet::const_iterator iter = m_attackers.begin();
|
AttackerSet::iterator iter = m_attackers.begin();
|
||||||
if(!(*iter)->AttackStop())
|
if(!(*iter)->AttackStop())
|
||||||
{
|
{
|
||||||
sLog.outError("WORLD: Unit has an attacker that isn't attacking it!");
|
sLog.outError("WORLD: Unit has an attacker that isn't attacking it!");
|
||||||
|
|
|
||||||
|
|
@ -156,7 +156,7 @@ class ReactorRunnable : protected ACE_Task_Base
|
||||||
|
|
||||||
ACE_ASSERT (m_Reactor);
|
ACE_ASSERT (m_Reactor);
|
||||||
|
|
||||||
SocketSet::const_iterator i, t;
|
SocketSet::iterator i, t;
|
||||||
|
|
||||||
while (!m_Reactor->reactor_event_loop_done ())
|
while (!m_Reactor->reactor_event_loop_done ())
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "7732"
|
#define REVISION_NR "7733"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue