summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-05-02 23:13:47 +0300
committerAndrei Karas <akaras@inbox.ru>2011-05-02 23:13:47 +0300
commit010fe80b3e44cee70422a1f19367f7630fd8a7ab (patch)
tree20ce8607e8ce929a2491b928011d1989a760fd8a /src/gui
parent217859342d7ffdab90ca0f409bffb7e2511a2173 (diff)
downloadplus-010fe80b3e44cee70422a1f19367f7630fd8a7ab.tar.gz
plus-010fe80b3e44cee70422a1f19367f7630fd8a7ab.tar.bz2
plus-010fe80b3e44cee70422a1f19367f7630fd8a7ab.tar.xz
plus-010fe80b3e44cee70422a1f19367f7630fd8a7ab.zip
Fix reading attack delay.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/debugwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/debugwindow.cpp b/src/gui/debugwindow.cpp
index cf52950c3..e9c79a890 100644
--- a/src/gui/debugwindow.cpp
+++ b/src/gui/debugwindow.cpp
@@ -291,7 +291,7 @@ void TargetDebugTab::logic()
const int delay = target->getAttackDelay();
if (delay)
{
- mAttackDelayLabel = new Label(strprintf("%s %d",
+ mAttackDelayLabel->setCaption(strprintf("%s %d",
_("Attack delay:"), delay));
}
else