forked from mirror/azerothcore-wotlk
chore: fix windows build (#25696)
This commit is contained in:
@@ -28,7 +28,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
name: ${{ matrix.os }}
|
name: ${{ matrix.os }}
|
||||||
env:
|
env:
|
||||||
BOOST_ROOT: C:\local\boost_1_82_0
|
BOOST_ROOT: C:\local\boost_1_87_0
|
||||||
if: |
|
if: |
|
||||||
github.repository == 'azerothcore/azerothcore-wotlk'
|
github.repository == 'azerothcore/azerothcore-wotlk'
|
||||||
&& !github.event.pull_request.draft
|
&& !github.event.pull_request.draft
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Set SUDO variable - one liner
|
# Set SUDO variable - one liner
|
||||||
if [[ "$OSTYPE" == "msys"* ]]; then
|
if [[ "$OSTYPE" == "msys"* || "$OSTYPE" == "cygwin"* ]]; then
|
||||||
SUDO=""
|
SUDO=""
|
||||||
else
|
else
|
||||||
SUDO=$([ "$EUID" -ne 0 ] && echo "sudo" || echo "")
|
SUDO=$([ "$EUID" -ne 0 ] && echo "sudo" || echo "")
|
||||||
@@ -49,7 +49,7 @@ function inst_configureOS() {
|
|||||||
source "$AC_PATH_INSTALLER/includes/os_configs/$DISTRO.sh"
|
source "$AC_PATH_INSTALLER/includes/os_configs/$DISTRO.sh"
|
||||||
;;
|
;;
|
||||||
*bsd*) echo "BSD is not supported yet" ;;
|
*bsd*) echo "BSD is not supported yet" ;;
|
||||||
msys*) source "$AC_PATH_INSTALLER/includes/os_configs/windows.sh" ;;
|
msys*|cygwin*) source "$AC_PATH_INSTALLER/includes/os_configs/windows.sh" ;;
|
||||||
*) echo "This platform is not supported" ;;
|
*) echo "This platform is not supported" ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -367,7 +367,7 @@ struct npc_pet_dk_army_of_the_dead : public AggressorAI
|
|||||||
AttackStart(attacker);
|
AttackStart(attacker);
|
||||||
}
|
}
|
||||||
|
|
||||||
void UpdateAI(uint32 diff) override
|
void UpdateAI(uint32 /*diff*/) override
|
||||||
{
|
{
|
||||||
if (!UpdateVictim())
|
if (!UpdateVictim())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user