Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[10445] Re-implement in more safe way single cast spell targets system.
It also fix case when target can unexpected lost single target aura at phase switch in case when target still visible in new phase (pet for example)
- Loading branch information
VladimirMangos
committed
Sep 5, 2010
1 parent
4afad5a
commit 81022d5
Showing
4 changed files
with
68 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#ifndef __REVISION_NR_H__ | ||
#define __REVISION_NR_H__ | ||
#define REVISION_NR "10444" | ||
#define REVISION_NR "10445" | ||
#endif // __REVISION_NR_H__ |
81022d5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
../../../src/game/Unit.cpp: In member function ‘bool Unit::AddSpellAuraHolder(SpellAuraHolder_)’:
../../../src/game/Unit.cpp:4099: ошибка: нет подходящей функции для вызова ‘std::map<const SpellEntry_, ObjectGuid, std::less<const SpellEntry*>, std::allocator<std::pair<const SpellEntry* const, ObjectGuid> > >::erase(std::_Rb_tree_const_iterator<std::pair<const SpellEntry* const, ObjectGuid> >&)’
/usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/stl_map.h:566: замечание: претенденты: void std::map<_Key, _Tp, _Compare, _Alloc>::erase(typename std::_Rb_tree<_Key, std::pair<const _Key, _Tp>, std::_Select1st<std::pair<const _Key, _Tp> >, _Compare, typename _Alloc::rebind<std::pair<const _Key, _Tp> >::other>::iterator) [with Key = const SpellEntry, _Tp = ObjectGuid, _Compare = std::less, _Alloc = std::allocator<std::pair<const SpellEntry* const, ObjectGuid> >]