commit
b8fbc79306
@ -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)
|
||||
{
|
||||
|
@ -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,
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
||||
// ------------------------------------------------------------------------
|
||||
|
@ -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);
|
||||
|
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user