mirror of
https://github.com/alliedmodders/sourcemod.git
synced 2025-12-07 02:18:35 +00:00
another go for wally...
This commit is contained in:
parent
0cd1258b6c
commit
1687b154e7
@ -275,7 +275,7 @@ public:
|
||||
{
|
||||
if (g_HandleSys.GetHandleAccess(hndl, this->pSecurity) == HandleError_None)
|
||||
{
|
||||
if ((this->pSecurity[HandleAccess_Delete] & HANDLE_RESTRICT_IDENTEXCLUSIVE) == HANDLE_RESTRICT_IDENTEXCLUSIVE)
|
||||
if ((this->pSecurity->access[HandleAccess_Delete] & HANDLE_RESTRICT_IDENTEXCLUSIVE) == HANDLE_RESTRICT_IDENTEXCLUSIVE)
|
||||
this->pSecurity = nullptr;
|
||||
else
|
||||
pSecurity->access[HandleAccess_Delete] |= HANDLE_RESTRICT_IDENTEXCLUSIVE;
|
||||
|
||||
@ -100,10 +100,10 @@ public:
|
||||
{
|
||||
if (handlesys->GetHandleAccess(hndl, this->pSecurity) == HandleError_None)
|
||||
{
|
||||
if ((this->pSecurity[HandleAccess_Delete] & HANDLE_RESTRICT_IDENTEXCLUSIVE) == HANDLE_RESTRICT_IDENTEXCLUSIVE)
|
||||
if ((this->pSecurity->access[HandleAccess_Delete] & HANDLE_RESTRICT_IDENTEXCLUSIVE) == HANDLE_RESTRICT_IDENTEXCLUSIVE)
|
||||
this->pSecurity = nullptr;
|
||||
else
|
||||
pSecurity->access[HandleAccess_Delete] |= HANDLE_RESTRICT_IDENTEXCLUSIVE;
|
||||
this->pSecurity->access[HandleAccess_Delete] |= HANDLE_RESTRICT_IDENTEXCLUSIVE;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user