From 44e521fef437778f339dc354e4ef64f9ade879ff Mon Sep 17 00:00:00 2001 From: Stephen Simpson Date: Wed, 12 Oct 2011 00:32:50 -0500 Subject: Upped the first check for distance in NearestPlayer --- src/player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/player.cpp b/src/player.cpp index e7480fe..75224b9 100644 --- a/src/player.cpp +++ b/src/player.cpp @@ -4,7 +4,7 @@ // Please check return for -1 char NearestPlayer(dStageActor_c* actor) { char nearest = -1; - float current = 5000000.0; + float current = 1000000000000000000000000000000.0; OSReport("FINDING NEAREST PLAYER\n"); for(char ii = 0; ii < 4; ii++) { -- cgit v1.2.3