Removed unnecessary variable.

This commit is contained in:
hiker
2014-04-04 21:00:22 +11:00
parent 21f145b951
commit 85bd942de7
2 changed files with 0 additions and 10 deletions

View File

@@ -46,8 +46,6 @@ using namespace irr::gui;
AddonsLoading::AddonsLoading(const std::string &id) AddonsLoading::AddonsLoading(const std::string &id)
: ModalDialog(0.8f, 0.8f) : ModalDialog(0.8f, 0.8f)
{ {
m_vote_clicked = false;
m_addon = *(addons_manager->getAddon(id)); m_addon = *(addons_manager->getAddon(id));
m_icon_shown = false; m_icon_shown = false;
m_download_request = NULL; m_download_request = NULL;
@@ -267,12 +265,6 @@ void AddonsLoading::voteClicked()
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
void AddonsLoading::onUpdate(float delta) void AddonsLoading::onUpdate(float delta)
{ {
if(m_vote_clicked)
{
voteClicked();
return;
}
if(m_progress->isVisible()) if(m_progress->isVisible())
{ {
float progress = m_download_request->getProgress(); float progress = m_download_request->getProgress();

View File

@@ -55,8 +55,6 @@ private:
* to the progress of a download. */ * to the progress of a download. */
Online::HTTPRequest *m_download_request; Online::HTTPRequest *m_download_request;
bool m_vote_clicked;
public: public:
AddonsLoading(const std::string &addon_name); AddonsLoading(const std::string &addon_name);