mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-22 03:41:45 +00:00
EV_DoFloor: Set dummy tag correctly for chained linedef executing
This commit is contained in:
parent
29b9fec85d
commit
3b9ed3e802
1 changed files with 1 additions and 1 deletions
|
@ -1660,7 +1660,7 @@ void EV_DoFloor(mtag_t tag, line_t *line, floor_e floortype)
|
||||||
// chained linedef executing ability
|
// chained linedef executing ability
|
||||||
// Only set it on one of the moving sectors (the smallest numbered)
|
// Only set it on one of the moving sectors (the smallest numbered)
|
||||||
if (line->args[3])
|
if (line->args[3])
|
||||||
dofloor->tag = firstone ? (INT16)line->args[3] : -1;
|
dofloor->tag = firstone ? (INT16)line->args[3] : 0;
|
||||||
|
|
||||||
// flat changing ability
|
// flat changing ability
|
||||||
dofloor->texture = line->args[4] ? line->frontsector->floorpic : -1;
|
dofloor->texture = line->args[4] ? line->frontsector->floorpic : -1;
|
||||||
|
|
Loading…
Reference in a new issue