-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[10895] Description for found gender field in CreatureDisplayInfoExtr…
…aEntry. Sign-off-by: VladimirMangos <vladimir@getmangos.com>
- Loading branch information
Darkrulerz
authored and
VladimirMangos
committed
Dec 20, 2010
1 parent
dad1f09
commit 53aa219
Showing
2 changed files
with
2 additions
and
2 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
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 "10894" | ||
#define REVISION_NR "10895" | ||
#endif // __REVISION_NR_H__ |
53aa219
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.
I think we can use dbc only data and drop the field in DB.
Use CreatureDisplayInfo : 1st column is modelid, 4th column is DisplayExtraID. If DisplayExtraID == 0 then gender = 2.
With this DisplayExtraID != 0, locate the record in CreatureDisplayInfoExtra, then gender is the 3rd column.
I use this way to get the gender for a very long time to fill the DB.
53aa219
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.
We can't. In other commit discusstion i already write this: creature query gender often not match to gender in displayextra.
In proved correct query data from retial. before do commit i adding modeinfo loading compatibility checks and lost many time for compare result and look way resolve problems. No chance for replace. in checks i attempt implement exactly way: