diff options
| author | Nay <dnpd.dd@gmail.com> | 2012-02-25 04:00:32 +0000 |
|---|---|---|
| committer | Nay <dnpd.dd@gmail.com> | 2012-02-25 04:00:32 +0000 |
| commit | d6c0a67a7c9d2cb1792ae7026a5e45f80f4082d0 (patch) | |
| tree | 35caae5e2853014749cc86ae50ef4efd6cfc7cab /src/server/game/Calendar/Calendar.cpp | |
| parent | 28310f0938a8776d0cb42ba8a64f125cc42bff6b (diff) | |
Core/Calendar:
- Fix build
- Use enums where possible
- Renaming
Diffstat (limited to 'src/server/game/Calendar/Calendar.cpp')
| -rwxr-xr-x | src/server/game/Calendar/Calendar.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/game/Calendar/Calendar.cpp b/src/server/game/Calendar/Calendar.cpp index 22578ef2dcc..ad0d4b4ac2e 100755 --- a/src/server/game/Calendar/Calendar.cpp +++ b/src/server/game/Calendar/Calendar.cpp @@ -40,8 +40,8 @@ void CalendarInvite::Init() _invitee = 0; _senderGUID = 0; _statusTime = 0; - _status = 0; - _rank = 0; + _status = CALENDAR_STATUS_INVITED; // default (0)? + _rank = CALENDAR_RANK_PLAYER; _text = ""; } @@ -74,7 +74,7 @@ void CalendarEvent::Init() _dungeonId = -1; _maxInvites = 0; _eventTime = 0; - _flags = 0; + _flags = (CalendarFlags) 0; _repeatable = false; _timezoneTime = 0; _title = ""; |
