#205 ground spawns need random heading assigned

Cerrada
abierta hace 3 años por image · 0 comentarios
image comentado hace 3 años

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 mencionada esta incidencia en un commit hace 1 año
Inicie sesión para unirse a esta conversación.
Cargando...
Cancelar
Guardar
Aún no existe contenido.