Chaosforge Forum

DoomRL => Bug Reports => Topic started by: ortoslon on January 08, 2012, 03:19

Title: [Solved][0.9.9.5 WinXP SP3] blocked path shown as clear
Post by: ortoslon on January 08, 2012, 03:19
Here's a visible barrel:


You see : barrel of fuel                                                       
 Targeting canceled.                                                           
 ##################################                                             
 #.....}....#................%....#                                             
 #..........#............>....|0..#                                             
 #..........#.....................#       #                                     
 #..........#.....................#      ..  ..                                 
 #..........#.....................#   #. #.  ....                               
 ######/#####..................0..#   #.##.##...>.                             
 #..........#.....................+ 0 #............                             
 #.########.#................|....# ..#....=.......                             
 #.#......#.#...............}.======================                           
 #.#......#.###/###+########======== =i===========                             
 ==#......#==========================   ===.===                                 
 ==#......#===================#############@######+#                           
 ==#.......=.==}============..................|......                           
 #.#......#..##################/#####/##############                           
 #.#......#...0.............................0......                             
 #.#......#.#............................}..........                           
 #.########.#.......^...............................                           
 #..........#................................0......                           
 ################### ##############################                             
 Orto                       Armor : none                                       
 Health: 100% Exp:  2/19%   Weapon: chaingun (1d6)x4 [24/40]                   
 cautious                                                    Phobos       Lev2 


I target it:

(http://i.imgur.com/1aHzw.png)

The path is shown green (i.e., clear) but in fact it crosses a wall and when I shoot all bullets are wasted.
Title: Re: [0.9.9.5 WinXP SP3] blocked path shown as clear
Post by: tehtmi on January 08, 2012, 12:26
Very strange.  I know there are oddities with the vision, but that's one of the worst I've seen.  I can't promise fixing the vision, because changing the vision code too much can have a huge impact on game play, but certainly the targeting not recognizing that it is going through a wall is a bug that can be fixed.

Edit: Okay, so not a problem with vision... I somehow misread the image and thought it was strange, but the vision is okay.  The targeting thing is still a bug though.

Edit: Resolution: in the next version, paths that go through walls will correctly be colored red.