EV_DoFloor: Set dummy tag correctly for chained linedef executing

This commit is contained in:
MascaraSnake 2022-12-27 10:54:24 +01:00
parent 29b9fec85d
commit 3b9ed3e802

View file

@ -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;