summaryrefslogtreecommitdiff
path: root/src/being/mercenaryinfo.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-21 15:28:25 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-21 15:28:25 +0300
commit691928f93da5874e62171f569baeb7e3c73e2c16 (patch)
tree453433ca1776f6e0b0670bcd02c483406b55c11b /src/being/mercenaryinfo.h
parent5ce3ea5e8377a1f9898dc08b6cc7f3a9679f4232 (diff)
downloadmv-691928f93da5874e62171f569baeb7e3c73e2c16.tar.gz
mv-691928f93da5874e62171f569baeb7e3c73e2c16.tar.bz2
mv-691928f93da5874e62171f569baeb7e3c73e2c16.tar.xz
mv-691928f93da5874e62171f569baeb7e3c73e2c16.zip
Restore all usable mercenary stats if it respawned.
Diffstat (limited to 'src/being/mercenaryinfo.h')
-rw-r--r--src/being/mercenaryinfo.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/being/mercenaryinfo.h b/src/being/mercenaryinfo.h
index 6bb9fd84d..9aa1bee66 100644
--- a/src/being/mercenaryinfo.h
+++ b/src/being/mercenaryinfo.h
@@ -26,14 +26,18 @@
struct MercenaryInfo final
{
MercenaryInfo() :
+ name(),
id(0),
- name()
+ level(0),
+ range(0)
{ }
A_DELETE_COPY(MercenaryInfo)
- int id;
std::string name;
+ int id;
+ int level;
+ int range;
};
#endif // BEING_MERCENARYINFO_H