Merge pull request #1167 from Scags/teleport-defaulted

Add default values to TeleportEntity
This commit is contained in:
David Anderson 2020-02-26 13:17:45 -08:00 committed by GitHub
commit 2b6833f65d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -96,7 +96,7 @@ native void ExtinguishEntity(int entity);
* @param velocity New velocity, or NULL_VECTOR for no change.
* @error Invalid entity or client not in game, or lack of mod support.
*/
native void TeleportEntity(int entity, const float origin[3], const float angles[3], const float velocity[3]);
native void TeleportEntity(int entity, const float origin[3] = NULL_VECTOR, const float angles[3] = NULL_VECTOR, const float velocity[3] = NULL_VECTOR);
/**
* Forces a player to commit suicide.