Skip to content

Commit

Permalink
Fixed NPC markets
Browse files Browse the repository at this point in the history
Fixed signedness warnings for the sanity zero-terminations
  • Loading branch information
Lemongrass3110 committed Oct 14, 2016
1 parent e443f84 commit 6a89855
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 70 deletions.
2 changes: 1 addition & 1 deletion sql-files/main.sql
Expand Up @@ -715,7 +715,7 @@ CREATE TABLE IF NOT EXISTS `mapreg` (
--

CREATE TABLE IF NOT EXISTS `market` (
`name` varchar(32) NOT NULL DEFAULT '',
`name` varchar(50) NOT NULL DEFAULT '',
`nameid` SMALLINT(5) UNSIGNED NOT NULL,
`price` INT(11) UNSIGNED NOT NULL,
`amount` SMALLINT(5) UNSIGNED NOT NULL,
Expand Down
2 changes: 2 additions & 0 deletions sql-files/upgrades/upgrade_20161013.sql
@@ -0,0 +1,2 @@
ALTER TABLE `market`
MODIFY `name` varchar(50) NOT NULL DEFAULT '';

0 comments on commit 6a89855

Please sign in to comment.