Skip to content

Commit

Permalink
C++ified the code
Browse files Browse the repository at this point in the history
  • Loading branch information
Cjreek committed Aug 8, 2023
1 parent 1e736cc commit 6cc5c45
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Plugins/Player/Player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1956,9 +1956,8 @@ NWNX_EXPORT ArgumentStack SendPartyInvite(ArgumentStack&& args)
NWNX_EXPORT ArgumentStack GetTURD(ArgumentStack&& args)
{
const auto oidPlayer = args.extract<OBJECT_ID>();

CExoLinkedListInternal* pTURDS = Utils::GetModule()->m_lstTURDList.m_pcExoLinkedListInternal;
if (pTURDS)

if (CExoLinkedListInternal* pTURDS = Utils::GetModule()->m_lstTURDList.m_pcExoLinkedListInternal)
{
for (CExoLinkedListPosition pNode = pTURDS->pHead; pNode; pNode = pNode->pNext)
{
Expand Down

0 comments on commit 6cc5c45

Please sign in to comment.