From 7cd079f60e3165ae1b0062ba53902f6f7a4ca46f Mon Sep 17 00:00:00 2001 From: Rafael Barreto Date: Tue, 19 Oct 2010 23:18:34 +0000 Subject: [PATCH] correct value for flag-flag distance git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5777 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/clientgame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/clientgame.cpp b/source/src/clientgame.cpp index a9386ba2..297bfc41 100644 --- a/source/src/clientgame.cpp +++ b/source/src/clientgame.cpp @@ -938,7 +938,7 @@ void showmapstats() conoutf("\f2Map Quality Stats"); conoutf(" The mean height is: %.2f", Mh); if (MA) conoutf(" The max area is: %d", MA); - if (m_flags && F2F < 1000) conoutf(" Flag-to-flag distance is: %d", F2F); + if (m_flags && F2F < 1000) conoutf(" Flag-to-flag distance is: %d", (int)fSqrt(F2F)); if (item_fail) conoutf(" There are one or more items too close to each other in this map"); } COMMAND(showmapstats, ARG_NONE);