Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[9579] Use ObjectGuid in some loot code.
Also use ObjectGuidSet instead std::set<ObjectGuid>
- Loading branch information
VladimirMangos
committed
Mar 13, 2010
1 parent
897906b
commit 6e24375
Showing
13 changed files
with
407 additions
and
388 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.
6e24375
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.
Compile fails on Debian Linux.
in file include from src/game/ArenaTeamHandler.cpp:19: src/Game/WorldSession.h:250: error: ObjectGuid has not been declared.
6e24375
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.
Same i have erros compiling in CentOS
6e24375
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.
This will fix the compile
diff --git a/src/game/WorldSession.h b/src/game/WorldSession.h
index 4a755ad..f8a74b8 100644
--- a/src/game/WorldSession.h
+++ b/src/game/WorldSession.h
@@ -25,6 +25,7 @@
#include "Common.h"
#include "SharedDefines.h"
+#include "ObjectGuid.h"
struct ItemPrototype;
struct AuctionEntry;
6e24375
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.
bad formating but i think with a bit imagination you should see that you have to add ' #include "ObjectGuid.h" ' to the includes in WorldSession.h