diff options
author | Stephen Simpson <megazig@gmail.com> | 2011-10-12 00:32:50 -0500 |
---|---|---|
committer | Stephen Simpson <megazig@gmail.com> | 2011-10-12 00:32:50 -0500 |
commit | 44e521fef437778f339dc354e4ef64f9ade879ff (patch) | |
tree | df9afa73ceea7f8de1e1a8cdbd314452f673558e /src/player.cpp | |
parent | 986acce4e1ddcc112b5ac68c2ae6a681bfd15bd2 (diff) | |
download | kamek-44e521fef437778f339dc354e4ef64f9ade879ff.tar.gz kamek-44e521fef437778f339dc354e4ef64f9ade879ff.zip |
Upped the first check for distance in NearestPlayer
Diffstat (limited to '')
-rw-r--r-- | src/player.cpp | 2 |
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++) { |