From 3d2653f4f77d1eb5afd91e768fe25469f681925c Mon Sep 17 00:00:00 2001 From: McCabe Maxsted Date: Wed, 26 May 2010 16:43:49 -0700 Subject: Added getZealous to llmortician --- linden/indra/llcommon/llmortician.cpp | 6 ++++++ linden/indra/llcommon/llmortician.h | 1 + 2 files changed, 7 insertions(+) diff --git a/linden/indra/llcommon/llmortician.cpp b/linden/indra/llcommon/llmortician.cpp index c800b65..2909f45 100644 --- a/linden/indra/llcommon/llmortician.cpp +++ b/linden/indra/llcommon/llmortician.cpp @@ -74,3 +74,9 @@ void LLMortician::setZealous(BOOL b) { sDestroyImmediate = b; } + +// static +BOOL LLMortician::getZealous() +{ + return sDestroyImmediate; +} diff --git a/linden/indra/llcommon/llmortician.h b/linden/indra/llcommon/llmortician.h index fcda3df..247632f 100644 --- a/linden/indra/llcommon/llmortician.h +++ b/linden/indra/llcommon/llmortician.h @@ -46,6 +46,7 @@ public: // sets destroy immediate true static void setZealous(BOOL b); + static BOOL getZealous(); private: static BOOL sDestroyImmediate; -- cgit v1.1