Fix error in circle wall collision detection
The wall zoning did not take into account the radius of the circle
This commit is contained in:
@@ -82,9 +82,11 @@ data DebugBool
|
||||
| Show_wall_search_rays
|
||||
| Show_dda_test
|
||||
| Collision_test
|
||||
| Circ_collision_test
|
||||
| Show_far_wall_detect
|
||||
| Show_walls_near_point_cursor
|
||||
| Show_walls_near_point_you
|
||||
| Show_walls_near_segment
|
||||
| Show_zone_near_point_cursor
|
||||
| Inspect_wall
|
||||
| Show_nodes_near_select
|
||||
|
||||
@@ -41,6 +41,8 @@ data Universe = Universe
|
||||
, _uvFrameTicks :: Word32
|
||||
, _uvRAMSave :: Maybe World
|
||||
, _uvDebug :: M.Map DebugBool DebugItem
|
||||
, _uvDebugFloat1 :: Float
|
||||
, _uvDebugFloat2 :: Float
|
||||
, _uvDebugMessageOffset :: Int
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user