mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-04-01 15:36:42 +00:00
fixed swapped day & month fields when created a stamped journal entry
This commit is contained in:
parent
82b790770d
commit
d6b956cdcf
1 changed files with 2 additions and 2 deletions
|
@ -61,8 +61,8 @@ namespace MWDialogue
|
||||||
StampedJournalEntry StampedJournalEntry::makeFromQuest (const std::string& topic, int index)
|
StampedJournalEntry StampedJournalEntry::makeFromQuest (const std::string& topic, int index)
|
||||||
{
|
{
|
||||||
int day = MWBase::Environment::get().getWorld()->getGlobalVariable ("dayspassed").mLong;
|
int day = MWBase::Environment::get().getWorld()->getGlobalVariable ("dayspassed").mLong;
|
||||||
int month = MWBase::Environment::get().getWorld()->getGlobalVariable ("day").mLong;
|
int month = MWBase::Environment::get().getWorld()->getGlobalVariable ("month").mLong;
|
||||||
int dayOfMonth = MWBase::Environment::get().getWorld()->getGlobalVariable ("month").mLong;
|
int dayOfMonth = MWBase::Environment::get().getWorld()->getGlobalVariable ("day").mLong;
|
||||||
|
|
||||||
return StampedJournalEntry (topic, idFromIndex (topic, index), day, month, dayOfMonth);
|
return StampedJournalEntry (topic, idFromIndex (topic, index), day, month, dayOfMonth);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue