* Updated field weapon
in table char
to default to '0' (bare-handed) rather than '1' (knife) (follow up to r11696).
- Apply upgrade_svn14796.sql to reflect the change on existing setups. git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14796 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
dc6ae732e4
commit
134989d2f8
@ -1,6 +1,8 @@
|
|||||||
Date Added
|
Date Added
|
||||||
|
|
||||||
2011/04/16
|
2011/04/16
|
||||||
|
* Updated field `weapon` in table `char` to default to '0' (bare-handed) rather than '1' (knife) (follow up to r11696). [Ai4rei]
|
||||||
|
- Apply upgrade_svn14796.sql to reflect the change on existing setups.
|
||||||
* Some cleanups related to player and monster states. [Ai4rei]
|
* Some cleanups related to player and monster states. [Ai4rei]
|
||||||
- Moved user_font and bg_id out of states as they are data, not states.
|
- Moved user_font and bg_id out of states as they are data, not states.
|
||||||
- Reordered members of state structs so that bitfields are packed together (less memory gets wasted).
|
- Reordered members of state structs so that bitfields are packed together (less memory gets wasted).
|
||||||
|
@ -83,7 +83,7 @@ CREATE TABLE IF NOT EXISTS `char` (
|
|||||||
`hair` tinyint(4) unsigned NOT NULL default '0',
|
`hair` tinyint(4) unsigned NOT NULL default '0',
|
||||||
`hair_color` smallint(5) unsigned NOT NULL default '0',
|
`hair_color` smallint(5) unsigned NOT NULL default '0',
|
||||||
`clothes_color` smallint(5) unsigned NOT NULL default '0',
|
`clothes_color` smallint(5) unsigned NOT NULL default '0',
|
||||||
`weapon` smallint(6) unsigned NOT NULL default '1',
|
`weapon` smallint(6) unsigned NOT NULL default '0',
|
||||||
`shield` smallint(6) unsigned NOT NULL default '0',
|
`shield` smallint(6) unsigned NOT NULL default '0',
|
||||||
`head_top` smallint(6) unsigned NOT NULL default '0',
|
`head_top` smallint(6) unsigned NOT NULL default '0',
|
||||||
`head_mid` smallint(6) unsigned NOT NULL default '0',
|
`head_mid` smallint(6) unsigned NOT NULL default '0',
|
||||||
|
1
sql-files/upgrade_svn14796.sql
Normal file
1
sql-files/upgrade_svn14796.sql
Normal file
@ -0,0 +1 @@
|
|||||||
|
ALTER TABLE `char` MODIFY `weapon` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0';
|
Loading…
x
Reference in New Issue
Block a user