summaryrefslogtreecommitdiff
path: root/src/gui/chargedialog.cpp
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2006-01-22 13:31:13 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2006-01-22 13:31:13 +0000
commitbd56bf8afdab16383ed8ad08412a8c807f84af85 (patch)
tree0e963ada63bcbe3c50dd77986aaa15b9ba49816a /src/gui/chargedialog.cpp
parent5359640b6f271af31f6423df9d661433eff89a3e (diff)
downloadmana-client-bd56bf8afdab16383ed8ad08412a8c807f84af85.tar.gz
mana-client-bd56bf8afdab16383ed8ad08412a8c807f84af85.tar.bz2
mana-client-bd56bf8afdab16383ed8ad08412a8c807f84af85.tar.xz
mana-client-bd56bf8afdab16383ed8ad08412a8c807f84af85.zip
Merged NETWORK branch (includes BEING_OVERHAUL).
Diffstat (limited to 'src/gui/chargedialog.cpp')
-rw-r--r--src/gui/chargedialog.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/chargedialog.cpp b/src/gui/chargedialog.cpp
index 4ef28e16..da02cada 100644
--- a/src/gui/chargedialog.cpp
+++ b/src/gui/chargedialog.cpp
@@ -28,7 +28,7 @@
#include "progressbar.h"
-#include "../playerinfo.h"
+#include "../localplayer.h"
ChargeDialog::ChargeDialog():
Window("")
@@ -42,15 +42,15 @@ ChargeDialog::ChargeDialog():
void ChargeDialog::logic()
{
// calculate time since the last attack was made
- player_info->lastAttackTime += .01; // this a hack until someone explains
+ player_node->lastAttackTime += .01; // this a hack until someone explains
// to me how to work the timer
- if (player_info->lastAttackTime > 1)
+ if (player_node->lastAttackTime > 1)
{
- player_info->lastAttackTime = 1;
+ player_node->lastAttackTime = 1;
}
// reset the progress bar to display accurate time since attack
- progBar->setProgress(player_info->lastAttackTime);
+ progBar->setProgress(player_node->lastAttackTime);
Window::logic();
}