#205 ground spawns need random heading assigned

بسته‌شده
3 سال پیش باز شده توسط image · 0 دیدگاه

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 ارجاع این مسئله به کامیت 1 سال پیش
image 1 سال پیش بسته شد
برای پیوستن به گفتگو، وارد شودید.
بدون نقطه عطف
بدون مسئول رسیدگی
1 مشارکت کننده
درحال بارگذاری...
لغو
ذخيره
هنوز محتوایی ایجاد نشده.