From df88107697423d9186e5a2e1836c17e1678b4c47 Mon Sep 17 00:00:00 2001 From: Uleat Date: Mon, 12 Oct 2015 17:59:29 -0400 Subject: [PATCH] Missed on final review... --- utils/sql/git/bots/required/2015_09_30_bots.sql | 2 +- zone/bot.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/utils/sql/git/bots/required/2015_09_30_bots.sql b/utils/sql/git/bots/required/2015_09_30_bots.sql index 2f827c779..b9ac09b19 100644 --- a/utils/sql/git/bots/required/2015_09_30_bots.sql +++ b/utils/sql/git/bots/required/2015_09_30_bots.sql @@ -124,7 +124,7 @@ BEGIN `class` TINYINT(2) NOT NULL DEFAULT '0', `level` TINYINT(2) UNSIGNED NOT NULL DEFAULT '0', `deity` INT(11) UNSIGNED NOT NULL DEFAULT '0', -- Unused - `creation_day` INT(11) UNSIGNED NOT NULL DEFAULT UNIX_TIMESTAMP, + `creation_day` INT(11) UNSIGNED NOT NULL DEFAULT '0', `last_spawn` INT(11) UNSIGNED NOT NULL DEFAULT '0', `time_spawned` INT(11) UNSIGNED NOT NULL DEFAULT '0', `size` FLOAT NOT NULL DEFAULT '0', diff --git a/zone/bot.cpp b/zone/bot.cpp index 3d01f53aa..f74d4ebfc 100644 --- a/zone/bot.cpp +++ b/zone/bot.cpp @@ -1563,6 +1563,7 @@ bool Bot::Save() " `race`," " `class`," " `level`," + " `creation_date`," " `last_spawn`," " `time_spawned`," " `size`," @@ -1604,6 +1605,7 @@ bool Bot::Save() " '%i'," /*race*/ " '%i'," /*class*/ " '%u'," /*level*/ + " UNIX_TIMESTAMP(),"/*creation_date*/ " UNIX_TIMESTAMP(),"/*last_spawn*/ " 0," /*time_spawned*/ " '%f'," /*size*/