diff --git a/engines/macventure/script.cpp b/engines/macventure/script.cpp index 2a1ffcfa1a4f..77bbea18661e 100644 --- a/engines/macventure/script.cpp +++ b/engines/macventure/script.cpp @@ -1061,8 +1061,14 @@ void ScriptEngine::opcaTIME(EngineState *state, EngineFrame *frame) { } void ScriptEngine::opcbDAY(EngineState *state, EngineFrame *frame) { - // Probaby irrelevant, so we push Day [9] - state->push(9); + TimeDate t; + g_system->getTimeAndDate(t); + + int weekday = 1 + t.tm_wday; + weekday = 1; + state->push(weekday); + + debugC(2, kMVDebugScript, "Current day of week: %d", weekday); } void ScriptEngine::opccCHLD(EngineState *state, EngineFrame *frame) {