From ce761f492541be3edf9dac1c727b4baddd32e15d Mon Sep 17 00:00:00 2001 From: VladimirMangos Date: Mon, 17 May 2010 01:55:35 +0400 Subject: [PATCH] [9915] Clarify game_event field values and fix typos. Thanks to BrightStone for pointing to ;) --- sql/mangos.sql | 4 ++-- src/game/GameEventMgr.h | 4 ++-- src/shared/revision_nr.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sql/mangos.sql b/sql/mangos.sql index 2a17bb4b5..550484a3f 100644 --- a/sql/mangos.sql +++ b/sql/mangos.sql @@ -1547,8 +1547,8 @@ CREATE TABLE `game_event` ( `entry` mediumint(8) unsigned NOT NULL COMMENT 'Entry of the game event', `start_time` timestamp NOT NULL default '0000-00-00 00:00:00' COMMENT 'Absolute start date, the event will never start before', `end_time` timestamp NOT NULL default '0000-00-00 00:00:00' COMMENT 'Absolute end date, the event will never start afler', - `occurence` bigint(20) unsigned NOT NULL default '86400' COMMENT 'Delay in hours between occurences of the event', - `length` bigint(20) unsigned NOT NULL default '43200' COMMENT 'Length in hours of the event', + `occurence` bigint(20) unsigned NOT NULL default '86400' COMMENT 'Delay in minutes between occurences of the event', + `length` bigint(20) unsigned NOT NULL default '43200' COMMENT 'Length in minutes of the event', `holiday` mediumint(8) unsigned NOT NULL default '0' COMMENT 'Client side holiday id', `description` varchar(255) default NULL COMMENT 'Description of the event displayed in console', PRIMARY KEY (`entry`) diff --git a/src/game/GameEventMgr.h b/src/game/GameEventMgr.h index b02e75f0f..39480a9f4 100644 --- a/src/game/GameEventMgr.h +++ b/src/game/GameEventMgr.h @@ -34,8 +34,8 @@ struct GameEventData GameEventData() : start(1),end(0),occurence(0),length(0), holiday_id(HOLIDAY_NONE) {} time_t start; time_t end; - uint32 occurence; - uint32 length; + uint32 occurence; // Delay in minutes between occurences of the event + uint32 length; // Length in minutes of the event HolidayIds holiday_id; std::string description; diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 1f03772d1..3bb6b4839 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "9914" + #define REVISION_NR "9915" #endif // __REVISION_NR_H__