mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Fixed #583. Minor fixes.
This commit is contained in:
@@ -1152,7 +1152,7 @@ int CGameState::getDate(int mode) const
|
||||
return day;
|
||||
break;
|
||||
case 1: //day of week
|
||||
temp = (day)%7;
|
||||
temp = (day)%7; // 1 - Monday, 7 - Sunday
|
||||
if (temp)
|
||||
return temp;
|
||||
else return 7;
|
||||
|
||||
Reference in New Issue
Block a user