diff options
author | Jacek Antonelli | 2009-05-24 21:52:44 -0500 |
---|---|---|
committer | Jacek Antonelli | 2009-05-25 18:37:34 -0500 |
commit | 032d19bdea92fbc4d584fb630a37ceccb07a5a40 (patch) | |
tree | 5accbe86286279499ef21f72863fe21a6a6365d9 /linden/indra/newview/llagent.cpp | |
parent | Added ConfirmTeleportHome alert text. (diff) | |
download | meta-impy-032d19bdea92fbc4d584fb630a37ceccb07a5a40.zip meta-impy-032d19bdea92fbc4d584fb630a37ceccb07a5a40.tar.gz meta-impy-032d19bdea92fbc4d584fb630a37ceccb07a5a40.tar.bz2 meta-impy-032d19bdea92fbc4d584fb630a37ceccb07a5a40.tar.xz |
Moved LLAgent::teleportHome() definition.
Was in llagent.h for no good reason, now in llagent.cpp.
Diffstat (limited to 'linden/indra/newview/llagent.cpp')
-rw-r--r-- | linden/indra/newview/llagent.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/linden/indra/newview/llagent.cpp b/linden/indra/newview/llagent.cpp index d268397..7f6cd0c 100644 --- a/linden/indra/newview/llagent.cpp +++ b/linden/indra/newview/llagent.cpp | |||
@@ -5926,6 +5926,13 @@ void LLAgent::teleportViaLocation(const LLVector3d& pos_global) | |||
5926 | } | 5926 | } |
5927 | } | 5927 | } |
5928 | 5928 | ||
5929 | |||
5930 | void LLAgent::teleportHome() | ||
5931 | { | ||
5932 | teleportViaLandmark(LLUUID::null); | ||
5933 | } | ||
5934 | |||
5935 | |||
5929 | void LLAgent::setTeleportState(ETeleportState state) | 5936 | void LLAgent::setTeleportState(ETeleportState state) |
5930 | { | 5937 | { |
5931 | mTeleportState = state; | 5938 | mTeleportState = state; |