trickerer / Trinity-Bots

NPCBots for TrinityCore and AzerothCore 3.3.5
https://github.com/trickerer/TrinityCore-3.3.5-with-NPCBots/
472 stars 156 forks source link

[TC] Compilewarning @Battaleground file #620

Closed Krutok closed 7 months ago

Krutok commented 1 year ago

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

Current behaviour

There is currently a compile error in the Battleground and BattlegroundAV file. These are not compatible with the latest TrinityCore version. Example:

Screenshot 2023-09-01 101530

OriginalCode from TC: https://github.com/TrinityCore/TrinityCore/blob/74bfc3862197c0b4f1f4d91215b05ab514a81696/src/server/game/Battlegrounds/Zones/BattlegroundAB.cpp#L467

NPCbotFork: https://github.com/trickerer/TrinityCore-3.3.5-with-NPCBots/blob/a7abceed8964465157f5bc809df740d7cd615146/src/server/game/Battlegrounds/Zones/BattlegroundAB.cpp#L605

Either an error crept in or not yet synchronized with the current TC repo

Expected behaviour

No response

Crashlog

No response

Steps to reproduce the problem

No response

TrinityCore or AzerothCore

TrinityCore

Core rev. hash/commit

TrinityCore rev. c3d6e61e4419+ 2023-09-01 09:37:30 +0200 (npcbots_3.3.5 branch) (Unix, RelWithDebInfo, Static) (worldserver-daemon)

Operating system

Debian 11

trickerer commented 7 months ago

https://github.com/trickerer/Trinity-Bots/commit/cd415a1302ee9b9f6e9406b63a8f4ad8fb3c0872 https://github.com/trickerer/TrinityCore-3.3.5-with-NPCBots/commit/6825a29f2e