forked from insider42/mangos
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[9323] Fixes in code work with original caster guid.
* Add 2 function for 2 used way for original caster - GetAffectiveCaster(), is posible NULL unit as source spell affects (explcit caster, GO owner, caster of aura that trigering affect).. - GetCastingObject(), possible NULL world object as in game spell effects source, cast center, etc, need because original caster can store GO guid that apply effect around. In other cases m_caster * Use functions and avoid use explicitly m_originalCaster * Use GetAffectiveCaster() for fix explicit GO cast at near unit, like now fixed campfire bonus.
- Loading branch information
VladimirMangos
committed
Feb 7, 2010
1 parent
a544058
commit defd3a9
Showing
4 changed files
with
63 additions
and
56 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 "9322" | ||
#define REVISION_NR "9323" | ||
#endif // __REVISION_NR_H__ |