FixPointTeleport: fix comment mistake.
This commit is contained in:
parent
df54cbab4b
commit
c7cc6e206e
@ -92,7 +92,7 @@ public MRESReturn OnEntityTeleport(int entity, Handle hParams)
|
|||||||
{
|
{
|
||||||
if (IsValidEntity(entity))
|
if (IsValidEntity(entity))
|
||||||
{
|
{
|
||||||
// Dont reinitialize, if we dont spawnflags or are missing the start constrained spawnflag.
|
// Dont reinitialize, if we dont have spawnflags or are missing the start constrained spawnflag.
|
||||||
if (!HasEntProp(entity, Prop_Data, "m_spawnflags") || (GetEntProp(entity, Prop_Data, "m_spawnflags") & SF_WEAPON_START_CONSTRAINED) == 0)
|
if (!HasEntProp(entity, Prop_Data, "m_spawnflags") || (GetEntProp(entity, Prop_Data, "m_spawnflags") & SF_WEAPON_START_CONSTRAINED) == 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user