Now have doors that you can walk though. No open/close animation yet.
This commit is contained in:
parent
02d23bb77d
commit
0add3b29ae
10 changed files with 41 additions and 5 deletions
|
|
@ -312,6 +312,7 @@ void Raycaster::cast_rays() {
|
|||
int draw_end = line_height / 2 + $height / 2 + $pitch;
|
||||
if(draw_end >= $height) draw_end = $height - 1;
|
||||
|
||||
// BUG: I thought I got rid of this
|
||||
auto texture = textures::get_surface($tiles[map_y][map_x]);
|
||||
|
||||
// calculate value of wall_x
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue