From 02822f84a25b261f02f5928a6cbefe103cd9491e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 26 Jun 2015 00:13:08 +0300 Subject: Add missing checks into being directory. --- src/being/playerrelations.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/being/playerrelations.cpp') 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 *const container) const override final { - if (!cobj) + if (!cobj || !container) return container; const std::string name = cobj->getValue(NAME, ""); if (name.empty()) -- cgit v1.2.3-60-g2f50