Skip to content

Commit

Permalink
server: fix clang warning + doc refs #55
Browse files Browse the repository at this point in the history
  • Loading branch information
Aranud committed Nov 24, 2016
1 parent 4836930 commit 4dcd2a6
Show file tree
Hide file tree
Showing 7 changed files with 828 additions and 760 deletions.
6 changes: 4 additions & 2 deletions src/qcommon/cm_patch.c
Expand Up @@ -2039,7 +2039,8 @@ Called from the renderer
*/
typedef void (*BotPolyFunc)(int color, int numPoints, float *points);

void BotDrawDebugPolygons(BotPolyFunc drawPoly, int value);
// TODO: remove in sv_bot.c
//void BotDrawDebugPolygons(BotPolyFunc drawPoly, int value);

void CM_DrawDebugSurface(void (*drawPoly)(int color, int numPoints, float *points))
{
Expand All @@ -2061,7 +2062,8 @@ void CM_DrawDebugSurface(void (*drawPoly)(int color, int numPoints, float *point

if (cv2->integer != 1)
{
BotDrawDebugPolygons(drawPoly, cv2->integer);
// TODO: remove in sv_bot.c
//BotDrawDebugPolygons(drawPoly, cv2->integer);
return;
}

Expand Down

0 comments on commit 4dcd2a6

Please sign in to comment.