diff options
author | Brian <runningnak3d@gmail.com> | 2010-07-22 14:37:32 -0600 |
---|---|---|
committer | Brian <runningnak3d@gmail.com> | 2010-07-22 14:37:32 -0600 |
commit | 9ff821d8bb2ee4e3f43c43e3badbeb40e000d503 (patch) | |
tree | 8781f3dc7f54abc4fd733d81070b4f34d16c43f1 /sql | |
parent | c8662c888b7b809189c3aedd2f4a7c0403f6456e (diff) |
* Add the ability to set player orientation for new characters.
* Requires DB data to actully do anything, however not needed for working
* server
* Original patch by Vladimir
--HG--
branch : trunk
Diffstat (limited to 'sql')
-rw-r--r-- | sql/base/world_database.sql | 1 | ||||
-rw-r--r-- | sql/updates/8987_world_playercreateinfo.sql | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sql/base/world_database.sql b/sql/base/world_database.sql index 2de8257a254..e1d04928993 100644 --- a/sql/base/world_database.sql +++ b/sql/base/world_database.sql @@ -4018,6 +4018,7 @@ CREATE TABLE `playercreateinfo` ( `position_x` float NOT NULL DEFAULT '0', `position_y` float NOT NULL DEFAULT '0', `position_z` float NOT NULL DEFAULT '0', + `orientation` float NOT NULL DEFAULT '0', PRIMARY KEY (`race`,`class`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; diff --git a/sql/updates/8987_world_playercreateinfo.sql b/sql/updates/8987_world_playercreateinfo.sql new file mode 100644 index 00000000000..040ec9cc2fd --- /dev/null +++ b/sql/updates/8987_world_playercreateinfo.sql @@ -0,0 +1,3 @@ + +ALTER TABLE `playercreateinfo` + ADD COLUMN `orientation` float NOT NULL DEFAULT 0 AFTER `position_z`; |