Skip to content

Commit 55826e7

Browse files
committed
chore: added text
1 parent 707459d commit 55826e7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

managed/CounterStrikeSharp.API/Core/ScriptContext.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,7 @@ internal unsafe object GetResult(Type type, byte* ptr)
456456
}
457457

458458
// this one only works if the 'Raw'/uint is passed, otherwise big bum
459+
// maybe do this with a marshaler?!
459460
if (type == typeof(CEntityHandle))
460461
{
461462
return new CEntityHandle((uint)GetResult(typeof(uint), ptr));

0 commit comments

Comments
 (0)