-
Notifications
You must be signed in to change notification settings - Fork 542
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[z2674] Add two extra model fields to creature_template
- Loading branch information
1 parent
103e1eb
commit cd32eab
Showing
7 changed files
with
32 additions
and
8 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
5 changes: 5 additions & 0 deletions
5
sql/updates/z2674_sxxxx_xxxxx_01_mangos_creature_template.sql
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
ALTER TABLE db_version CHANGE COLUMN required_z2621_s2263_12823_04_mangos_creature required_z2674_sxxxx_xxxxx_01_mangos_creature_template bit; | ||
|
||
ALTER TABLE `creature_template` | ||
ADD COLUMN `ModelId3` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0' AFTER `ModelId2`, | ||
ADD COLUMN `ModelId4` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0' AFTER `ModelId3`; |
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 "2673" | ||
#define REVISION_NR "2674" | ||
#endif // __REVISION_NR_H__ |
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,6 +1,6 @@ | ||
#ifndef __REVISION_SQL_H__ | ||
#define __REVISION_SQL_H__ | ||
#define REVISION_DB_CHARACTERS "required_z2559_s2204_12756_01_characters_pvpstats" | ||
#define REVISION_DB_MANGOS "required_z2621_s2263_12823_04_mangos_creature" | ||
#define REVISION_DB_MANGOS "required_z2674_sxxxx_xxxxx_01_mangos_creature_template" | ||
#define REVISION_DB_REALMD "required_10008_01_realmd_realmd_db_version" | ||
#endif // __REVISION_SQL_H__ |
cd32eab
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.
@cala
Did you actually build this? I'm asking because static_assert is C++11, so this is going to break several GCC builds.Sorry for the noise. I've been told this is still a macro, so crisis averted.
cd32eab
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.
Yes, I did. But from your edit, I assume that was expected. 😉