Revert "Project modernization (#630)"
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.
This commit is contained in:
@@ -22,13 +22,13 @@ bool XuiCraftingTask::isCompleted()
|
||||
switch(m_type)
|
||||
{
|
||||
case e_Crafting_SelectGroup:
|
||||
if(craftScene != nullptr && craftScene->getCurrentGroup() == m_group)
|
||||
if(craftScene != NULL && craftScene->getCurrentGroup() == m_group)
|
||||
{
|
||||
completed = true;
|
||||
}
|
||||
break;
|
||||
case e_Crafting_SelectItem:
|
||||
if(craftScene != nullptr && craftScene->isItemSelected(m_item))
|
||||
if(craftScene != NULL && craftScene->isItemSelected(m_item))
|
||||
{
|
||||
completed = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user