forked from Wirlaburla/P3NG0
i'm a moron
This commit is contained in:
parent
ca5fcc734d
commit
a91c9064ac
|
@ -793,11 +793,11 @@ void handleTeleportRequest(internalTypes::markEntry details) {
|
||||||
std::to_string(details.position.y) + ", " +
|
std::to_string(details.position.y) + ", " +
|
||||||
std::to_string(details.position.z) + ", " +
|
std::to_string(details.position.z) + ", " +
|
||||||
std::to_string(details.position.yaw) + "\n";
|
std::to_string(details.position.yaw) + "\n";
|
||||||
teleport(&roomsock, xPos, yPos, zPos, direction); // force positional update immediately
|
|
||||||
xPos = details.position.x; // remember so that the idle thread doesn't rubberband us
|
xPos = details.position.x; // remember so that the idle thread doesn't rubberband us
|
||||||
yPos = details.position.y;
|
yPos = details.position.y;
|
||||||
zPos = details.position.z;
|
zPos = details.position.z;
|
||||||
direction = details.position.yaw;
|
direction = details.position.yaw;
|
||||||
|
teleport(&roomsock, xPos, yPos, zPos, direction); // force positional update immediately
|
||||||
|
|
||||||
std::cout << "info: updating goto destination\n";
|
std::cout << "info: updating goto destination\n";
|
||||||
realLocation = details.url;
|
realLocation = details.url;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user