Restore wind/conveyor specials for Kart maps
This commit is contained in:
parent
0b081230c4
commit
458aef786b
2 changed files with 14 additions and 3 deletions
|
|
@ -6850,9 +6850,17 @@ static void P_ConvertBinarySectorTypes(void)
|
|||
case 1: //Spring Panel
|
||||
sectors[i].specialflags |= SSF_REDPOGOSPRING;
|
||||
break;
|
||||
case 2: //Wind/Current
|
||||
if (mapnamespace == MNS_SRB2KART)
|
||||
sectors[i].specialflags |= SSF_WINDCURRENT;
|
||||
break;
|
||||
case 3:
|
||||
sectors[i].specialflags |= SSF_YELLOWPOGOSPRING;
|
||||
break;
|
||||
case 4: //Conveyor
|
||||
if (mapnamespace == MNS_SRB2KART)
|
||||
sectors[i].specialflags |= SSF_CONVEYOR;
|
||||
break;
|
||||
case 5: //Speed pad
|
||||
sectors[i].specialflags |= SSF_SPEEDPAD;
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -8228,7 +8228,8 @@ static void Add_Scroller(INT32 type, fixed_t dx, fixed_t dy, INT32 control, INT3
|
|||
s->affectee = affectee;
|
||||
if (type == sc_carry || type == sc_carry_ceiling)
|
||||
{
|
||||
sectors[affectee].specialflags |= SSF_CONVEYOR;
|
||||
if (mapnamespace != MNS_SRB2KART)
|
||||
sectors[affectee].specialflags |= SSF_CONVEYOR;
|
||||
if (IsSector3DBlock(§ors[affectee]))
|
||||
{
|
||||
if (type == sc_carry)
|
||||
|
|
@ -9197,12 +9198,14 @@ static void Add_Pusher(pushertype_e type, fixed_t x_mag, fixed_t y_mag, fixed_t
|
|||
{
|
||||
p->roverpusher = true;
|
||||
p->referrer = referrer;
|
||||
sectors[referrer].specialflags |= SSF_WINDCURRENT;
|
||||
if (mapnamespace != MNS_SRB2KART)
|
||||
sectors[referrer].specialflags |= SSF_WINDCURRENT;
|
||||
}
|
||||
else
|
||||
{
|
||||
p->roverpusher = false;
|
||||
sectors[affectee].specialflags |= SSF_WINDCURRENT;
|
||||
if (mapnamespace != MNS_SRB2KART)
|
||||
sectors[affectee].specialflags |= SSF_WINDCURRENT;
|
||||
}
|
||||
|
||||
p->affectee = affectee;
|
||||
|
|
|
|||
Loading…
Reference in a new issue