mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-02 22:22:55 +00:00
Use sizeu1()
This commit is contained in:
parent
87e19198ae
commit
7f14edf62e
1 changed files with 1 additions and 1 deletions
|
|
@ -5510,7 +5510,7 @@ static ffloor_t *P_AddFakeFloor(sector_t *sec, sector_t *sec2, line_t *master, f
|
||||||
{
|
{
|
||||||
fixed_t tempceiling = sec2->ceilingheight;
|
fixed_t tempceiling = sec2->ceilingheight;
|
||||||
//flip the sector around and print an error instead of crashing 12.1.08 -Inuyasha
|
//flip the sector around and print an error instead of crashing 12.1.08 -Inuyasha
|
||||||
CONS_Alert(CONS_ERROR, M_GetText("FOF (line %d) has a top height below its bottom.\n"), master - lines);
|
CONS_Alert(CONS_ERROR, M_GetText("FOF (line %d) has a top height below its bottom.\n"), sizeu1(master - lines));
|
||||||
sec2->ceilingheight = sec2->floorheight;
|
sec2->ceilingheight = sec2->floorheight;
|
||||||
sec2->floorheight = tempceiling;
|
sec2->floorheight = tempceiling;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue