Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove extra tokens at end of #endif directive.

  • Loading branch information...
commit f87db8e01ab4c42979b7097adb75ac76a700e274 1 parent 787848f
@bnoordhuis bnoordhuis authored
View
4 aas_create.c
@@ -342,7 +342,7 @@ void AAS_CheckArea(tmp_area_t *tmparea)
Log_Write("AAS_CheckArea: area %d face %d: %s\r\n", tmparea->areanum,
face->num, WindingErrorString());
} //end if
-#endif L_DEBUG
+#endif
plane = &mapplanes[face->planenum ^ side];
@@ -363,7 +363,7 @@ void AAS_CheckArea(tmp_area_t *tmparea)
Log_Write("AAS_CheckArea: area %d face %d winding plane unequal to face plane\r\n",
tmparea->areanum, face->num);
} //end if
-#endif L_DEBUG
+#endif
} //end for
} //end of the function AAS_CheckArea
//===========================================================================
View
2  brushbsp.c
@@ -111,7 +111,7 @@ void PrintContents(int contents)
} //end for
} //end of the function PrintContents
-//#endif DEBUG
+//#endif
//===========================================================================
//
View
6 deps/botlib/be_aas_reach.c
@@ -2772,7 +2772,7 @@ void AAS_Reachability_Teleport(void)
AAS_ValueForBSPEpairKey(ent, "model", model, MAX_EPAIRKEY);
//#ifdef REACH_DEBUG
botimport.Print(PRT_MESSAGE, "trigger_multiple model = \"%s\"\n", model);
-//#endif REACH_DEBUG
+//#endif
VectorClear(angles);
AAS_BSPModelMinsMaxsOrigin(atoi(model+1), angles, mins, maxs, origin);
//
@@ -2809,7 +2809,7 @@ void AAS_Reachability_Teleport(void)
AAS_ValueForBSPEpairKey(ent, "model", model, MAX_EPAIRKEY);
//#ifdef REACH_DEBUG
botimport.Print(PRT_MESSAGE, "trigger_teleport model = \"%s\"\n", model);
-//#endif REACH_DEBUG
+//#endif
VectorClear(angles);
AAS_BSPModelMinsMaxsOrigin(atoi(model+1), angles, mins, maxs, origin);
//
@@ -3544,7 +3544,7 @@ void AAS_Reachability_JumpPad(void)
#ifdef REACH_DEBUG
botimport.Print(PRT_MESSAGE, "absmins = %f %f %f\n", absmins[0], absmins[1], absmins[2]);
botimport.Print(PRT_MESSAGE, "absmaxs = %f %f %f\n", absmaxs[0], absmaxs[1], absmaxs[2]);
-#endif REACH_DEBUG
+#endif
VectorAdd(absmins, absmaxs, origin);
VectorScale (origin, 0.5, origin);
View
2  l_mem.c
@@ -250,7 +250,7 @@ memoryblock_t *BlockFromPointer(void *ptr, char *str)
//char *crash = (char *) NULL;
//crash[0] = 1;
Error("%s: NULL pointer\n", str);
-#endif MEMDEBUG
+#endif
return NULL;
} //end if
block = (memoryblock_t *) ((char *) ptr - sizeof(memoryblock_t));
View
12 map_q1.c
@@ -275,11 +275,11 @@ int Q1_SolidTree_r(int nodenum)
case Q1_CONTENTS_SOLID:
#ifdef HLCONTENTS
case Q1_CONTENTS_CLIP:
-#endif HLCONTENTS
+#endif
case Q1_CONTENTS_SKY:
#ifdef HLCONTENTS
case Q1_CONTENTS_TRANSLUCENT:
-#endif HLCONTENTS
+#endif
{
return true;
} //end case
@@ -295,7 +295,7 @@ int Q1_SolidTree_r(int nodenum)
case Q1_CONTENTS_CURRENT_270:
case Q1_CONTENTS_CURRENT_UP:
case Q1_CONTENTS_CURRENT_DOWN:
-#endif HLCONTENTS
+#endif
default:
{
return false;
@@ -339,11 +339,11 @@ bspbrush_t *Q1_CreateBrushes_r(bspbrush_t *brush, int nodenum)
case Q1_CONTENTS_SOLID:
#ifdef HLCONTENTS
case Q1_CONTENTS_CLIP:
-#endif HLCONTENTS
+#endif
case Q1_CONTENTS_SKY:
#ifdef HLCONTENTS
case Q1_CONTENTS_TRANSLUCENT:
-#endif HLCONTENTS
+#endif
{
brush->side = CONTENTS_SOLID;
return brush;
@@ -376,7 +376,7 @@ bspbrush_t *Q1_CreateBrushes_r(bspbrush_t *brush, int nodenum)
Error("Q1_CreateBrushes_r: found contents %d in Half-Life BSP", leaf->contents);
return NULL;
} //end case
-#endif HLCONTENTS
+#endif
default:
{
Error("Q1_CreateBrushes_r: unknown contents %d in Half-Life BSP", leaf->contents);
Please sign in to comment.
Something went wrong with that request. Please try again.