From 46cf0999498f734a9063805cc2e1a5d7bbb39c1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 17 Jun 2010 12:35:47 +0200 Subject: [PATCH] game: Fix season date, Easter had 22 days instead of 21. --- src/egs_game.erl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/egs_game.erl b/src/egs_game.erl index 5a2a679..090e8e2 100644 --- a/src/egs_game.erl +++ b/src/egs_game.erl @@ -288,9 +288,9 @@ area_get_season(QuestID) -> Month =:= 3, Day =< 6 -> ?SEASON_VALENTINE; Month =:= 3, Day >= 14 -> ?SEASON_WHITEDAY; Month =:= 4, Day =< 3 -> ?SEASON_WHITEDAY; - Month =:= 4, Day >= 4, Day =< 25 -> ?SEASON_EASTER; - Month =:= 4, Day >= 26 -> ?SEASON_SPRING; - Month =:= 5, Day =< 9 -> ?SEASON_SPRING; + Month =:= 4, Day >= 4, Day =< 24 -> ?SEASON_EASTER; + Month =:= 4, Day >= 25 -> ?SEASON_SPRING; + Month =:= 5, Day =< 8 -> ?SEASON_SPRING; Month =:= 5, Day >= 17, Day =< 30 -> ?SEASON_WEDDING; Month =:= 6, Day >= 3, Day =< 16 -> ?SEASON_PARUMUNIF; Month =:= 6, Day >= 23 -> ?SEASON_SONIC;