Merge pull request #3968 from ldm0/master

Typo fix
This commit is contained in:
Deve 2019-06-22 07:57:51 +02:00 committed by GitHub
commit b8fbc79306
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 8 additions and 8 deletions

View File

@ -587,7 +587,7 @@ void Attachment::updateGraphics(float dt)
}
if (m_plugin)
m_plugin->updateGrahpics(dt);
m_plugin->updateGraphics(dt);
if (m_type != ATTACH_NOTHING)
{

View File

@ -57,7 +57,7 @@ public:
enum AttachmentType
{
ATTACH_FIRST = 0,
// It is importabt that parachute, bomb and anvil stay in this order,
// It is important that parachute, bomb and anvil stay in this order,
// since the attachment type is mapped to a random integer (and bomb
// must be last, since a bomb will not be given in battle mode).
ATTACH_PARACHUTE = 0,

View File

@ -52,7 +52,7 @@ public:
virtual ~AttachmentPlugin() {}
virtual void updateGrahpics(float dt) = 0;
virtual void updateGraphics(float dt) = 0;
// ------------------------------------------------------------------------
/** Updates a plugin. This is called once each time frame. If the

View File

@ -103,7 +103,7 @@ Swatter::~Swatter()
} // ~Swatter
// ----------------------------------------------------------------------------
void Swatter::updateGrahpics(float dt)
void Swatter::updateGraphics(float dt)
{
#ifndef SERVER_ONLY
if (m_bomb_remaining != -1)
@ -221,7 +221,7 @@ void Swatter::updateGrahpics(float dt)
}
}
#endif
} // updateGrahpics
} // updateGraphics
// ----------------------------------------------------------------------------
/** Updates an armed swatter: it checks for any karts that are close enough

View File

@ -90,7 +90,7 @@ public:
Swatter(AbstractKart *kart, int16_t bomb_ticks, int ticks,
Attachment* attachment);
virtual ~Swatter();
void updateGrahpics(float dt) OVERRIDE;
void updateGraphics(float dt) OVERRIDE;
bool updateAndTestFinished(int ticks) OVERRIDE;
// ------------------------------------------------------------------------

View File

@ -3279,7 +3279,7 @@ void Kart::updateGraphics(float dt)
else
m_stars_effect->update(dt);
// Upate particle effects (creation rate, and emitter size
// Update particle effects (creation rate, and emitter size
// depending on speed)
m_kart_gfx->update(dt);
if (m_collision_particles) m_collision_particles->update(dt);

View File

@ -23,7 +23,7 @@
#include "utils/cpp2011.hpp"
/**
* \brief Dialog shown after a resolution switch sot he user may confirm if
* \brief Dialog shown after a resolution switch so the user may confirm if
* the resolution works.
* \ingroup states_screens
*/