mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-01 14:10:54 +00:00
P_WriteTextmap: Copy colormap only to first tagged sector and do the rest via the linedef
This commit is contained in:
parent
1fdfb6ba6e
commit
7c0687bc33
1 changed files with 9 additions and 1 deletions
|
@ -2209,8 +2209,16 @@ static void P_WriteTextmap(void)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
wsectors[s].extra_colormap = wsides[wlines[i].sidenum[0]].colormap_data;
|
wsectors[s].extra_colormap = wsides[wlines[i].sidenum[0]].colormap_data;
|
||||||
|
if (freetag == (mtag_t)MAXTAGS)
|
||||||
|
{
|
||||||
|
CONS_Alert(CONS_WARNING, M_GetText("No unused tag found. Linedef %d with type 606 cannot be converted.\n"), i);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
Tag_Add(&wsectors[s].tags, freetag);
|
||||||
|
wlines[i].args[1] = freetag;
|
||||||
|
freetag = Tag_NextUnused(freetag);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
wlines[i].special = 0;
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue