diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-26 00:13:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-26 00:13:08 +0300 |
commit | 02822f84a25b261f02f5928a6cbefe103cd9491e (patch) | |
tree | 784d1781be875caace23e39a7c778333d1b19351 /src/being | |
parent | 6a85fbae1583368f8c632108260b78e4b5d8ebf3 (diff) | |
download | manaverse-02822f84a25b261f02f5928a6cbefe103cd9491e.tar.gz manaverse-02822f84a25b261f02f5928a6cbefe103cd9491e.tar.bz2 manaverse-02822f84a25b261f02f5928a6cbefe103cd9491e.tar.xz manaverse-02822f84a25b261f02f5928a6cbefe103cd9491e.zip |
Add missing checks into being directory.
Diffstat (limited to 'src/being')
-rw-r--r-- | src/being/playerrelations.cpp | 2 |
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()) |