Function name typo fix

This commit is contained in:
Donough Liu 2019-06-22 09:51:32 +08:00
parent 25926b0aec
commit 1ce37e3bea
4 changed files with 5 additions and 5 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

@ -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;
// ------------------------------------------------------------------------