mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-27 07:51:36 +00:00
Removed nogravity flag on touching bulbs/turbines (fixes #245)
This commit is contained in:
parent
daa6dbd667
commit
8363ead346
2 changed files with 2 additions and 1 deletions
|
|
@ -292,7 +292,7 @@ void Obj_BulbTouched(mobj_t *special, mobj_t *toucher)
|
|||
P_MoveOrigin(toucher, special->x, special->y, special->z);
|
||||
toucher->player->nocontrol = 1;
|
||||
P_SetTarget(&toucher->tracer, special);
|
||||
toucher->flags &= ~MF_SHOOTABLE;
|
||||
toucher->flags &= ~(MF_SHOOTABLE|MF_NOGRAVITY);
|
||||
toucher->renderflags |= RF_DONTDRAW;
|
||||
P_SetTarget(&special->target, toucher);
|
||||
special->extravalue1 = spd;
|
||||
|
|
|
|||
|
|
@ -220,6 +220,7 @@ void Obj_playerWPZTurbine(player_t *p)
|
|||
}
|
||||
|
||||
mt = t->spawnpoint;
|
||||
pmo->flags &= ~MF_NOGRAVITY;
|
||||
|
||||
opt1 = (mt->thing_args[0] != 0);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue