mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 01:37:00 +00:00
fixed more build warnings reported by clang/gcc
This commit is contained in:
parent
b4b3498fa3
commit
b2737a3610
3 changed files with 8 additions and 2 deletions
|
|
@ -1022,6 +1022,8 @@ void CreatureEventAI::ProcessAction(CreatureEventAI_Action const& action, uint32
|
||||||
m_creature->HandleEmote(action.emoteTarget.emoteId);
|
m_creature->HandleEmote(action.emoteTarget.emoteId);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1063,6 +1065,8 @@ void CreatureEventAI::Reset()
|
||||||
(*i).Enabled = true;
|
(*i).Enabled = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
default:
|
||||||
|
break;
|
||||||
// default:
|
// default:
|
||||||
// TODO: enable below code line / verify this is correct to enable events previously disabled (ex. aggro yell), instead of enable this in void Aggro()
|
// TODO: enable below code line / verify this is correct to enable events previously disabled (ex. aggro yell), instead of enable this in void Aggro()
|
||||||
//(*i).Enabled = true;
|
//(*i).Enabled = true;
|
||||||
|
|
@ -1344,6 +1348,8 @@ void CreatureEventAI::UpdateAI(const uint32 diff)
|
||||||
ProcessEvent(*i);
|
ProcessEvent(*i);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
m_EventDiff = 0;
|
m_EventDiff = 0;
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,7 @@ endif()
|
||||||
include_directories(
|
include_directories(
|
||||||
${CMAKE_SOURCE_DIR}/src/shared
|
${CMAKE_SOURCE_DIR}/src/shared
|
||||||
${CMAKE_SOURCE_DIR}/src/framework
|
${CMAKE_SOURCE_DIR}/src/framework
|
||||||
${CMAKE_SOURCE_DIR}/src/game/AuctionHouseBot
|
${CMAKE_SOURCE_DIR}/src/game/
|
||||||
${CMAKE_SOURCE_DIR}/src/game/BattleGround
|
${CMAKE_SOURCE_DIR}/src/game/BattleGround
|
||||||
${CMAKE_SOURCE_DIR}/src/game/Server
|
${CMAKE_SOURCE_DIR}/src/game/Server
|
||||||
${CMAKE_SOURCE_DIR}/src/game/WorldHandlers
|
${CMAKE_SOURCE_DIR}/src/game/WorldHandlers
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@
|
||||||
#include "Log.h"
|
#include "Log.h"
|
||||||
#include "Master.h"
|
#include "Master.h"
|
||||||
#include "SystemConfig.h"
|
#include "SystemConfig.h"
|
||||||
#include "AuctionHouseBot/AuctionHouseBot.h"
|
#include "AuctionHouseBot.h"
|
||||||
#include "revision.h"
|
#include "revision.h"
|
||||||
#include "revision_nr.h"
|
#include "revision_nr.h"
|
||||||
#include <openssl/opensslv.h>
|
#include <openssl/opensslv.h>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue