[9915] Clarify game_event field values and fix typos.

Thanks to BrightStone for pointing to ;)
This commit is contained in:
VladimirMangos 2010-05-17 01:55:35 +04:00
parent 628f11e1a7
commit ce761f4925
3 changed files with 5 additions and 5 deletions

View file

@ -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`)

View file

@ -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;

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "9914"
#define REVISION_NR "9915"
#endif // __REVISION_NR_H__