summaryrefslogtreecommitdiff
path: root/indra/newview/llagentpilot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llagentpilot.cpp')
-rw-r--r--indra/newview/llagentpilot.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llagentpilot.cpp b/indra/newview/llagentpilot.cpp
index 9637c54a6d..f0bd452109 100644
--- a/indra/newview/llagentpilot.cpp
+++ b/indra/newview/llagentpilot.cpp
@@ -38,7 +38,7 @@
#include "llagentpilot.h"
#include "llagent.h"
#include "llframestats.h"
-#include "viewer.h"
+#include "llappviewer.h"
#include "llviewercontrol.h"
LLAgentPilot gAgentPilot;
@@ -221,7 +221,7 @@ void LLAgentPilot::updateTarget()
else if (mQuitAfterRuns)
{
llinfos << "Done with all runs, quitting viewer!" << llendl;
- app_force_quit(NULL);
+ LLAppViewer::instance()->forceQuit();
}
else
{