mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 02:50:29 +00:00
refactor(Core/Worldstate): Remove redundant worldstate usage. (#22126)
Co-authored-by: Jelle Meeus <sogladev@gmail.com>
This commit is contained in:
@@ -8829,13 +8829,7 @@ void Player::SendInitWorldStates(uint32 zoneId, uint32 areaId)
|
||||
battlefield->FillInitialWorldStates(packet);
|
||||
break;
|
||||
}
|
||||
[[fallthrough]];
|
||||
default:
|
||||
packet.Worldstates.reserve(4);
|
||||
packet.Worldstates.emplace_back(WORLD_STATE_GENERIC_UNK_2, 0);
|
||||
packet.Worldstates.emplace_back(WORLD_STATE_GENERIC_UNK_1, 0);
|
||||
packet.Worldstates.emplace_back(WORLD_STATE_GENERIC_UNK_0, 0);
|
||||
packet.Worldstates.emplace_back(WORLD_STATE_GENERIC_UNK_3, 0);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user