summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStephen Simpson <megazig@gmail.com>2011-10-12 00:32:50 -0500
committerStephen Simpson <megazig@gmail.com>2011-10-12 00:32:50 -0500
commit44e521fef437778f339dc354e4ef64f9ade879ff (patch)
treedf9afa73ceea7f8de1e1a8cdbd314452f673558e /src
parent986acce4e1ddcc112b5ac68c2ae6a681bfd15bd2 (diff)
downloadkamek-44e521fef437778f339dc354e4ef64f9ade879ff.tar.gz
kamek-44e521fef437778f339dc354e4ef64f9ade879ff.zip
Upped the first check for distance in NearestPlayer
Diffstat (limited to 'src')
-rw-r--r--src/player.cpp2
1 files changed, 1 insertions, 1 deletions
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++) {