#205 ground spawns need random heading assigned

Uzavrená
otvorené 3 rokov pred užívateľom image · 0 komentárov
image okomentoval 3 rokov pred

right now their include heading is disabled so they all point one direction

void Spawn::InitializePosPacketData(Player* player, PacketStruct* packet, bool bSpawnUpdate) {
    int16 version = packet->GetVersion();
    packet->setDataByName("pos_grid_id", appearance.pos.grid_id);
    bool include_heading = true;
    if (IsWidget() && ((Widget*)this)->GetIncludeHeading() == false)
        include_heading = false;
    else if (IsSign() && ((Sign*)this)->GetIncludeHeading() == false)
        include_heading = false;
    else if (IsGroundSpawn())
        include_heading = false;
right now their include heading is disabled so they all point one direction ``` void Spawn::InitializePosPacketData(Player* player, PacketStruct* packet, bool bSpawnUpdate) { int16 version = packet->GetVersion(); packet->setDataByName("pos_grid_id", appearance.pos.grid_id); bool include_heading = true; if (IsWidget() && ((Widget*)this)->GetIncludeHeading() == false) include_heading = false; else if (IsSign() && ((Sign*)this)->GetIncludeHeading() == false) include_heading = false; else if (IsGroundSpawn()) include_heading = false; ```
image sa odvolal na túto issue z commitu 1 rok pred
image zatvorené 1 rok pred
Prihláste sa pre zapojenie do konverzácie.
Načítavanie...
Zrušiť
Uložiť
Zatiaľ neexistuje žiadny obsah.