From e23e5d0a05dbdc2dd69ac6f61febd6dff7e5e32d Mon Sep 17 00:00:00 2001 From: Sandu Liviu Catalin Date: Fri, 2 Sep 2016 10:02:46 +0300 Subject: [PATCH] Return null entity instance instead of null object in FindByID algorithm. --- source/Base/Algo.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Base/Algo.hpp b/source/Base/Algo.hpp index 915ff5d7..a9af9e7c 100644 --- a/source/Base/Algo.hpp +++ b/source/Base/Algo.hpp @@ -995,7 +995,7 @@ public: } } // Unable to locate a player matching the specified identifier - return NullObject(); + return Inst::Null(); } /* --------------------------------------------------------------------------------------------