[svn] * Fixed xp calculation for low level characters when grouped with a higher level player. Patch provided by Reiner030.
* Fixed positive spells being not resistable when cast on hostile units. Patch provided by QAston. * Fixed compile warnings in gcc. Patch provided by WarHead. --HG-- branch : trunk
This commit is contained in:
1 parent
55c25d894e
commit
6f2e0ee48a
10 files changed
+31
-18
No files matched your search
@@ -1527,8 +1527,8 @@ void GameEvent::SendWorldStateUpdate(Player * plr, uint16 event_id)
|
||||
for(itr = mGameEvent[event_id].conditions.begin(); itr !=mGameEvent[event_id].conditions.end(); ++itr)
|
||||
{
|
||||
if(itr->second.done_world_state)
|
||||
plr->SendUpdateWorldState(itr->second.done_world_state, itr->second.done);
|
||||
plr->SendUpdateWorldState(itr->second.done_world_state, (uint32)(itr->second.done));
|
||||
if(itr->second.max_world_state)
|
||||
plr->SendUpdateWorldState(itr->second.max_world_state, itr->second.reqNum);
|
||||
plr->SendUpdateWorldState(itr->second.max_world_state, (uint32)(itr->second.reqNum));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user