summaryrefslogtreecommitdiffstats
path: root/src/Tracer.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2015-05-10 14:15:13 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2015-05-10 14:15:13 +0200
commit1cb1347c53c7482883dcc2eb047f8fe798a12481 (patch)
treebe616a3c3b2db083b2f3908220818231778609ef /src/Tracer.cpp
parentMerge pull request #1985 from SafwatHalaby/lessPathCalcs (diff)
parentMerge remote-tracking branch 'origin/master' into warnings (diff)
downloadcuberite-1cb1347c53c7482883dcc2eb047f8fe798a12481.tar
cuberite-1cb1347c53c7482883dcc2eb047f8fe798a12481.tar.gz
cuberite-1cb1347c53c7482883dcc2eb047f8fe798a12481.tar.bz2
cuberite-1cb1347c53c7482883dcc2eb047f8fe798a12481.tar.lz
cuberite-1cb1347c53c7482883dcc2eb047f8fe798a12481.tar.xz
cuberite-1cb1347c53c7482883dcc2eb047f8fe798a12481.tar.zst
cuberite-1cb1347c53c7482883dcc2eb047f8fe798a12481.zip
Diffstat (limited to 'src/Tracer.cpp')
-rw-r--r--src/Tracer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Tracer.cpp b/src/Tracer.cpp
index b6b0fd634..5fdaff15d 100644
--- a/src/Tracer.cpp
+++ b/src/Tracer.cpp
@@ -56,13 +56,13 @@ int cTracer::SigNum(float a_Num)
{
if (a_Num < 0.f)
{
- return -1.f;
+ return -1;
}
if (a_Num > 0.f)
{
- return 1.f;
+ return 1;
}
- return 0.f;
+ return 0;
}