mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-07-04 10:42:51 +00:00
Add missing "ed".
This commit is contained in:
parent
83372e7dea
commit
7bd50b5068
2
orbs.cpp
2
orbs.cpp
@ -1608,7 +1608,7 @@ bool isValentines() {
|
|||||||
const time_t now = time(NULL);
|
const time_t now = time(NULL);
|
||||||
const struct tm *datetime = localtime(&now);
|
const struct tm *datetime = localtime(&now);
|
||||||
|
|
||||||
// 0-indexed tm_mon, 1-index tm_mday
|
// 0-indexed tm_mon, 1-indexed tm_mday
|
||||||
// So this is February (2nd month), and the 14th day.
|
// So this is February (2nd month), and the 14th day.
|
||||||
return datetime->tm_mon == 1 && datetime->tm_mday == 14;
|
return datetime->tm_mon == 1 && datetime->tm_mday == 14;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user