From a144be9f8bbdac042490914e171a98d3d7639fb7 Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Thu, 16 Nov 2006 02:30:32 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@687 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/clientgame.cpp | 2 +- source/src/console.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/source/src/clientgame.cpp b/source/src/clientgame.cpp index e4d30407..6c7b3c90 100644 --- a/source/src/clientgame.cpp +++ b/source/src/clientgame.cpp @@ -299,7 +299,7 @@ int fixspawn = 2; // returns -2 for a free place, else dist to the nearest enemy float nearestenemy(vec place, char *team) { - int nearestenemydist = -1; + float nearestenemydist = -1; loopv(players) { playerent *other = players[i]; diff --git a/source/src/console.cpp b/source/src/console.cpp index cab1bca2..631ba5d1 100644 --- a/source/src/console.cpp +++ b/source/src/console.cpp @@ -1,7 +1,6 @@ // console.cpp: the console buffer, its display, and command line control #include "cube.h" -#include struct cline { char *cref; int outtime; }; vector conlines;