feat(CI): Travis integration (#13)

This commit is contained in:
Stoabrogga
2019-04-02 17:15:55 +02:00
committed by GitHub
parent 022c4413b7
commit f512ed0069
3 changed files with 71 additions and 37 deletions

View File

@@ -122,7 +122,7 @@ public:
return false; // Cast the spell on use normally
}
void OnGossipSelect(Player* player, Item* item, uint32 /*sender*/, uint32 action)
void OnGossipSelect(Player* player, Item* item, uint32 /*sender*/, uint32 action) override
{
switch (action)
{
@@ -318,7 +318,7 @@ public:
npc->GetMotionMaster()->MoveFollow(player, PET_FOLLOW_DIST, player->GetFollowAngle());
npc->setFaction(player->getFaction());
if (salute && !salute[0] == '\0')
if (salute && !(salute[0] == '\0'))
npc->MonsterWhisper(salute, player, false);
}
};