Removed unnecessary variable.
This commit is contained in:
@@ -46,8 +46,6 @@ using namespace irr::gui;
|
||||
AddonsLoading::AddonsLoading(const std::string &id)
|
||||
: ModalDialog(0.8f, 0.8f)
|
||||
{
|
||||
m_vote_clicked = false;
|
||||
|
||||
m_addon = *(addons_manager->getAddon(id));
|
||||
m_icon_shown = false;
|
||||
m_download_request = NULL;
|
||||
@@ -267,12 +265,6 @@ void AddonsLoading::voteClicked()
|
||||
// ----------------------------------------------------------------------------
|
||||
void AddonsLoading::onUpdate(float delta)
|
||||
{
|
||||
if(m_vote_clicked)
|
||||
{
|
||||
voteClicked();
|
||||
return;
|
||||
}
|
||||
|
||||
if(m_progress->isVisible())
|
||||
{
|
||||
float progress = m_download_request->getProgress();
|
||||
|
||||
@@ -55,8 +55,6 @@ private:
|
||||
* to the progress of a download. */
|
||||
Online::HTTPRequest *m_download_request;
|
||||
|
||||
bool m_vote_clicked;
|
||||
|
||||
public:
|
||||
AddonsLoading(const std::string &addon_name);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user