REFACTOR [anough to enough]
This commit is contained in:
1 parent
2579738256
commit
a375f898f5
7 files changed
+21
-21
No files matched your search
@@ -848,7 +848,7 @@ int AAS_Reachability_Swim(int area1num, int area2num)
|
||||
area1 = &aasworld.areas[area1num];
|
||||
area2 = &aasworld.areas[area2num];
|
||||
|
||||
//if the areas are not near anough
|
||||
//if the areas are not near enough
|
||||
for (i = 0; i < 3; i++)
|
||||
{
|
||||
if (area1->mins[i] > area2->maxs[i] + 10) return qfalse;
|
||||
@@ -923,7 +923,7 @@ int AAS_Reachability_EqualFloorHeight(int area1num, int area2num)
|
||||
|
||||
area1 = &aasworld.areas[area1num];
|
||||
area2 = &aasworld.areas[area2num];
|
||||
//if the areas are not near anough in the x-y direction
|
||||
//if the areas are not near enough in the x-y direction
|
||||
for (i = 0; i < 2; i++)
|
||||
{
|
||||
if (area1->mins[i] > area2->maxs[i] + 10) return qfalse;
|
||||
@@ -1085,7 +1085,7 @@ int AAS_Reachability_Step_Barrier_WaterJump_WalkOffLedge(int area1num, int area2
|
||||
area2 = &aasworld.areas[area2num];
|
||||
//if the first area contains a liquid
|
||||
area1swim = AAS_AreaSwim(area1num);
|
||||
//if the areas are not near anough in the x-y direction
|
||||
//if the areas are not near enough in the x-y direction
|
||||
for (i = 0; i < 2; i++)
|
||||
{
|
||||
if (area1->mins[i] > area2->maxs[i] + 10) return qfalse;
|
||||
@@ -2131,7 +2131,7 @@ int AAS_Reachability_Jump(int area1num, int area2num)
|
||||
//maximum height a player can jump with the given initial z velocity
|
||||
maxjumpheight = AAS_MaxJumpHeight(phys_jumpvel);
|
||||
|
||||
//if the areas are not near anough in the x-y direction
|
||||
//if the areas are not near enough in the x-y direction
|
||||
for (i = 0; i < 2; i++)
|
||||
{
|
||||
if (area1->mins[i] > area2->maxs[i] + maxjumpdistance) return qfalse;
|
||||
|
||||
Reference in new issue
Block a user