diff options
Diffstat (limited to 'linden/indra/newview/llagentpilot.cpp')
-rw-r--r-- | linden/indra/newview/llagentpilot.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/newview/llagentpilot.cpp b/linden/indra/newview/llagentpilot.cpp index 9637c54..f0bd452 100644 --- a/linden/indra/newview/llagentpilot.cpp +++ b/linden/indra/newview/llagentpilot.cpp | |||
@@ -38,7 +38,7 @@ | |||
38 | #include "llagentpilot.h" | 38 | #include "llagentpilot.h" |
39 | #include "llagent.h" | 39 | #include "llagent.h" |
40 | #include "llframestats.h" | 40 | #include "llframestats.h" |
41 | #include "viewer.h" | 41 | #include "llappviewer.h" |
42 | #include "llviewercontrol.h" | 42 | #include "llviewercontrol.h" |
43 | 43 | ||
44 | LLAgentPilot gAgentPilot; | 44 | LLAgentPilot gAgentPilot; |
@@ -221,7 +221,7 @@ void LLAgentPilot::updateTarget() | |||
221 | else if (mQuitAfterRuns) | 221 | else if (mQuitAfterRuns) |
222 | { | 222 | { |
223 | llinfos << "Done with all runs, quitting viewer!" << llendl; | 223 | llinfos << "Done with all runs, quitting viewer!" << llendl; |
224 | app_force_quit(NULL); | 224 | LLAppViewer::instance()->forceQuit(); |
225 | } | 225 | } |
226 | else | 226 | else |
227 | { | 227 | { |