mirror of
https://github.com/daffyyyy/CS2-SimpleAdmin.git
synced 2026-10-18 12:57:04 +02:00
fix: Fix potential vector & qangle leaks
This commit is contained in:
parent
7ac2f873a7
commit
a758b9a7a7
7 changed files with 299 additions and 16 deletions
|
|
@ -1,5 +1,5 @@
|
|||
using CounterStrikeSharp.API.Modules.Entities;
|
||||
using CounterStrikeSharp.API.Modules.Utils;
|
||||
using FixVectorLeak;
|
||||
|
||||
namespace CS2_SimpleAdminApi;
|
||||
|
||||
|
|
@ -30,8 +30,8 @@ public class PlayerInfo(
|
|||
public DiePosition? DiePosition { get; set; }
|
||||
}
|
||||
|
||||
public struct DiePosition(Vector position, QAngle angle)
|
||||
public struct DiePosition(Vector_t position, QAngle_t angle)
|
||||
{
|
||||
public Vector Position { get; set; } = position;
|
||||
public QAngle Angle { get; set; } = angle;
|
||||
public Vector_t Position { get; set; } = position;
|
||||
public QAngle_t Angle { get; set; } = angle;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue