- fixed level generation algorithm placing waypoints at unreachable positions
- changes to drowning/suffocation logic (oxygen-value drops/rises at a fixed rate depending on whether there's enough oxygen available, instead of effects "stacking")
This commit is contained in:
@@ -152,6 +152,8 @@ namespace Voronoi2
|
||||
ge.point1 = vertices[i-1];
|
||||
ge.point2 = vertices[i];
|
||||
|
||||
System.Diagnostics.Debug.Assert(ge.point1 != ge.point2);
|
||||
|
||||
edges.Add(ge);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user