summaryrefslogtreecommitdiff
path: root/src/being/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-29 17:24:52 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-29 17:59:57 +0300
commitf315432679f760b71505e74dcb2185b7aef7a906 (patch)
tree07d45620464a2542cb28fbe773f652501e6ee6fb /src/being/being.cpp
parentcccb3e11663eb415b9b6c9a184e1c17762a2d989 (diff)
downloadplus-f315432679f760b71505e74dcb2185b7aef7a906.tar.gz
plus-f315432679f760b71505e74dcb2185b7aef7a906.tar.bz2
plus-f315432679f760b71505e74dcb2185b7aef7a906.tar.xz
plus-f315432679f760b71505e74dcb2185b7aef7a906.zip
change smaller letter literalt into capital letter.
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r--src/being/being.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index b9d720671..949a691c1 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -1004,7 +1004,7 @@ void Being::fireMissile(Being *const victim, const std::string &particle) const
if (missile)
{
- target->moveBy(Vector(0.0f, 0.0f, 32.0f));
+ target->moveBy(Vector(0.0F, 0.0F, 32.0F));
target->setLifetime(1000);
victim->controlParticle(target);
@@ -1415,7 +1415,7 @@ void Being::logic()
const float nominalLength = dir.length();
// When we've not reached our destination, move to it.
- if (nominalLength > 0.0f && !mWalkSpeed.isNull())
+ if (nominalLength > 0.0F && !mWalkSpeed.isNull())
{
// The deplacement of a point along a vector is calculated
// using the Unit Vector (รข) multiplied by the point speed.
@@ -1446,7 +1446,7 @@ void Being::logic()
// Update the player sprite direction.
// N.B.: We only change this if the distance is more than one pixel.
- if (nominalLength > 1.0f)
+ if (nominalLength > 1.0F)
{
int direction = 0;
const float dx = std::abs(dir.x);