summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-26 00:13:08 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-26 00:13:08 +0300
commit02822f84a25b261f02f5928a6cbefe103cd9491e (patch)
tree784d1781be875caace23e39a7c778333d1b19351
parent6a85fbae1583368f8c632108260b78e4b5d8ebf3 (diff)
downloadmv-02822f84a25b261f02f5928a6cbefe103cd9491e.tar.gz
mv-02822f84a25b261f02f5928a6cbefe103cd9491e.tar.bz2
mv-02822f84a25b261f02f5928a6cbefe103cd9491e.tar.xz
mv-02822f84a25b261f02f5928a6cbefe103cd9491e.zip
Add missing checks into being directory.
-rw-r--r--src/being/playerrelations.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/playerrelations.cpp b/src/being/playerrelations.cpp
index bdb7c08c2..4bd7b637e 100644
--- a/src/being/playerrelations.cpp
+++ b/src/being/playerrelations.cpp
@@ -94,7 +94,7 @@ namespace
std::map<std::string, PlayerRelation *>
*const container) const override final
{
- if (!cobj)
+ if (!cobj || !container)
return container;
const std::string name = cobj->getValue(NAME, "");
if (name.empty())