summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-07-05 22:33:12 +0300
committerAndrei Karas <akaras@inbox.ru>2011-07-05 22:33:12 +0300
commita5e45cef061b921981012176ad7dc9cb5e03dacc (patch)
tree80780eec88ab13b2a05269f70fc84bf3a67780ce /src/being.cpp
parent710a37891458aaa3b924286950250500fb7b3fc3 (diff)
downloadmv-a5e45cef061b921981012176ad7dc9cb5e03dacc.tar.gz
mv-a5e45cef061b921981012176ad7dc9cb5e03dacc.tar.bz2
mv-a5e45cef061b921981012176ad7dc9cb5e03dacc.tar.xz
mv-a5e45cef061b921981012176ad7dc9cb5e03dacc.zip
Fix memory leak in shop window, add missing initialisation to BeingCacheEntry.
Small code style fix.
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/being.cpp b/src/being.cpp
index acfe9e445..4e4b64061 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -99,7 +99,9 @@ class BeingCacheEntry
mPartyName(""),
mLevel(0),
mPvpRank(0),
- mTime(0)
+ mTime(0),
+ mIp(""),
+ mIsAdvanced(false)
{
}