isn't this the same check of https://github.com/Senader/arcemu/blob/624f61b1546dfcd4a168c01836c3be7e985ce52f/src/arcemu-world/BattlegroundMgr.cpp#L599 , just 4 lines above ?