mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-31 04:06:42 +00:00
[Client] Fix if check in ObjectList::setMemberShorts()
This commit is contained in:
parent
19418f4953
commit
02bca3f52d
1 changed files with 1 additions and 1 deletions
|
@ -815,7 +815,7 @@ void ObjectList::setMemberShorts()
|
|||
// Mimic the way a Ptr is fetched in InterpreterContext for similar situations
|
||||
MWWorld::Ptr ptrFound = MWBase::Environment::get().getWorld()->searchPtr(baseObject.refId, false);
|
||||
|
||||
if (!ptrFound.isEmpty())
|
||||
if (ptrFound)
|
||||
{
|
||||
LOG_APPEND(TimedLog::LOG_VERBOSE, "-- Found %s %i-%i", ptrFound.getCellRef().getRefId().c_str(),
|
||||
ptrFound.getCellRef().getRefNum(), ptrFound.getCellRef().getMpNum());
|
||||
|
|
Loading…
Reference in a new issue