Skip to content

Commit 770a1c9

Browse files
committed
update(scripting/CBaseEntity): Teleport
1 parent e07c02c commit 770a1c9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/plugins/core/scripting/generated/GClasses1.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -669,8 +669,8 @@ std::string GCBaseEntity::GetClassname() {
669669
GCEntitySubclassVDataBase GCBaseEntity::GetVData() {
670670
return GCEntitySubclassVDataBase(((CBaseEntity*)m_ptr)->GetVData());
671671
}
672-
void GCBaseEntity::Teleport(Vector value) {
673-
((CBaseEntity*)m_ptr)->Teleport(&value, nullptr, nullptr);
672+
void GCBaseEntity::Teleport(Vector value, QAngle angle) {
673+
((CBaseEntity*)m_ptr)->Teleport(&value, &angle, nullptr);
674674
}
675675
void GCBaseEntity::EmitSound(std::string sound_name, float pitch, float volume) {
676676
for (int i = 0; i < g_playerManager->GetPlayerCap(); i++) {

src/plugins/core/scripting/generated/classes.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1737,7 +1737,7 @@ class GCBaseEntity
17371737
void AcceptInput(std::string input, GCEntityInstance activator, GCEntityInstance caller, std::string value, int outputID);
17381738
std::string GetClassname();
17391739
GCEntitySubclassVDataBase GetVData();
1740-
void Teleport(Vector value);
1740+
void Teleport(Vector value, QAngle angle);
17411741
void EmitSound(std::string sound_name, float pitch, float volume);
17421742
GCBaseEntity EHandle();
17431743
GCBodyComponent GetCBodyComponent() const;

0 commit comments

Comments
 (0)