fix: resolve all build warnings and notes

This commit is contained in:
MatthewBeshay
2026-03-23 18:53:18 +11:00
parent 7a35d1caa2
commit fed9cf2d95
45 changed files with 294 additions and 244 deletions

View File

@@ -2533,7 +2533,7 @@ bool Tutorial::setMessage(PopupMessageDetails* message) {
} else if ((m_lastMessage != NULL &&
m_lastMessage->m_messageId !=
-1)) //&& (lastMessageTime + m_iTutorialReminderTime ) >
//GetTickCount() )
// GetTickCount() )
{
// This should cause the popup to dissappear
TutorialPopupInfo popupInfo;
@@ -2819,8 +2819,8 @@ void Tutorial::onLookAtEntity(std::shared_ptr<Entity> entity) {
}
}
if ((m_CurrentState == e_Tutorial_State_Gameplay) &&
entity->instanceof(eTYPE_HORSE)) {
if ((m_CurrentState == e_Tutorial_State_Gameplay) && entity->instanceof
(eTYPE_HORSE)) {
changeTutorialState(e_Tutorial_State_Horse);
}
@@ -2839,6 +2839,8 @@ void Tutorial::onRideEntity(std::shared_ptr<Entity> entity) {
case eTYPE_BOAT:
changeTutorialState(e_Tutorial_State_Riding_Boat);
break;
default:
break;
}
}