This code was not tested and breaks in Release builds, reverting to restore
functionality of the nightly. All in-game menus do not work and generating
a world crashes.
This reverts commit a9be52c41a.
26 lines
602 B
C++
26 lines
602 B
C++
#include "stdafx.h"
|
|
#include "Tutorial.h"
|
|
#include "FullTutorialActiveTask.h"
|
|
|
|
FullTutorialActiveTask::FullTutorialActiveTask(Tutorial *tutorial, eTutorial_CompletionAction completeAction /*= e_Tutorial_Completion_None*/)
|
|
: TutorialTask( tutorial, -1, false, NULL, false, false, false )
|
|
{
|
|
m_completeAction = completeAction;
|
|
}
|
|
|
|
bool FullTutorialActiveTask::isCompleted()
|
|
{
|
|
return bHasBeenActivated;
|
|
}
|
|
|
|
eTutorial_CompletionAction FullTutorialActiveTask::getCompletionAction()
|
|
{
|
|
if( tutorial->m_fullTutorialComplete )
|
|
{
|
|
return m_completeAction;
|
|
}
|
|
else
|
|
{
|
|
return e_Tutorial_Completion_None;
|
|
}
|
|
} |