mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'scroll_silly' into 'master'
Change Scroller Direction (linedef 435): Do not crash on Tag_Find for sidedef scrollers See merge request KartKrew/Kart!1506
This commit is contained in:
commit
89fae24b95
1 changed files with 6 additions and 1 deletions
|
|
@ -3234,7 +3234,12 @@ boolean P_ProcessSpecial(activator_t *activator, INT16 special, INT32 *args, cha
|
|||
continue;
|
||||
|
||||
scroller = (scroll_t *)th;
|
||||
if (!Tag_Find(§ors[scroller->affectee].tags, args[0]))
|
||||
|
||||
const taglist_t* taglist = (scroller->type == sc_side)
|
||||
? &sides[scroller->affectee].line->tags
|
||||
: §ors[scroller->affectee].tags;
|
||||
|
||||
if (!Tag_Find(taglist, args[0]))
|
||||
continue;
|
||||
|
||||
switch (scroller->type)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue