mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-05-23 07:54:51 +00:00
fix: resolve all build warnings and notes
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user