mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 20:41:46 +00:00
Fix bad usage of const
This commit is contained in:
parent
581b989fe4
commit
1ca522044b
1 changed files with 1 additions and 1 deletions
|
|
@ -386,7 +386,7 @@ static boolean P_CanBotTraverse(seg_t *seg, divline_t *divl, register los_t *los
|
||||||
if (los->compareThing->player != NULL && los->alreadyHates == false)
|
if (los->compareThing->player != NULL && los->alreadyHates == false)
|
||||||
{
|
{
|
||||||
// Treat damage sectors like walls, if you're not already in a bad sector.
|
// Treat damage sectors like walls, if you're not already in a bad sector.
|
||||||
const sector_t *front, *back;
|
sector_t *front, *back;
|
||||||
vertex_t pos;
|
vertex_t pos;
|
||||||
|
|
||||||
P_ClosestPointOnLine(los->compareThing->x, los->compareThing->y, line, &pos);
|
P_ClosestPointOnLine(los->compareThing->x, los->compareThing->y, line, &pos);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue