1
0
Fork 0
mirror of https://git.coom.tech/drummyfish/raycastlib.git synced 2024-11-21 20:29:59 +01:00

Fix regression

This commit is contained in:
Miloslav Číž 2018-09-21 14:03:31 +02:00
parent 71f199d5ec
commit ccdb07aadf

View file

@ -1262,7 +1262,7 @@ void _columnFunctionSimple(RCL_HitResult *hits, uint16_t hitCount, uint16_t x,
p.isWall = 1; p.isWall = 1;
p.isFloor = 1; p.isFloor = 1;
p.depth = RCL_dist; p.depth = dist;
#if RCL_ROLL_TEXTURE_COORDS == 1 && RCL_COMPUTE_WALL_TEXCOORDS == 1 #if RCL_ROLL_TEXTURE_COORDS == 1 && RCL_COMPUTE_WALL_TEXCOORDS == 1
p.hit.textureCoord -= p.hit.doorRoll; p.hit.textureCoord -= p.hit.doorRoll;