mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-31 05:30:48 +00:00
Add missing "/ FRACUNIT" to texture offset code
This commit is contained in:
parent
8d8f62baef
commit
7d71d534d4
1 changed files with 4 additions and 4 deletions
|
@ -2957,15 +2957,15 @@ static void P_AddBinaryMapTagsFromLine(sector_t *sector, line_t *line)
|
|||
Tag_Add(§or->tags, Tag_FGet(&line->tags));
|
||||
if (line->flags & ML_EFFECT6) {
|
||||
if (sides[line->sidenum[0]].textureoffset)
|
||||
Tag_Add(§or->tags, (INT32)sides[line->sidenum[0]].textureoffset);
|
||||
Tag_Add(§or->tags, (INT32)sides[line->sidenum[0]].textureoffset / FRACUNIT);
|
||||
if (sides[line->sidenum[0]].rowoffset)
|
||||
Tag_Add(§or->tags, (INT32)sides[line->sidenum[0]].rowoffset);
|
||||
Tag_Add(§or->tags, (INT32)sides[line->sidenum[0]].rowoffset / FRACUNIT);
|
||||
}
|
||||
if (line->flags & ML_TFERLINE) {
|
||||
if (sides[line->sidenum[1]].textureoffset)
|
||||
Tag_Add(§or->tags, (INT32)sides[line->sidenum[1]].textureoffset);
|
||||
Tag_Add(§or->tags, (INT32)sides[line->sidenum[1]].textureoffset / FRACUNIT);
|
||||
if (sides[line->sidenum[1]].rowoffset)
|
||||
Tag_Add(§or->tags, (INT32)sides[line->sidenum[1]].rowoffset);
|
||||
Tag_Add(§or->tags, (INT32)sides[line->sidenum[1]].rowoffset / FRACUNIT);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue