atompacman / Xerof

2D survival simulator (AI sandbox)
1 stars 1 forks source link

Diagonal range of sight model cannot be read when ROS file has no newline at the end #55

Open atompacman opened 8 years ago

atompacman commented 8 years ago

In RangeOfSight,cpp at line 94, io_File >> c; always return a c of value \0 when file doesn`t end with an endline.