Minor bug fixes
This was SVN commit r7411.
This commit is contained in:
parent
13302cc133
commit
38feae61fb
@ -213,7 +213,7 @@ bool CCmpTemplateManager::LoadTemplateFile(const std::wstring& templateName, int
|
||||
if (!LoadTemplateFile(baseName, depth+1))
|
||||
{
|
||||
LOGERROR(L"Failed to load entity template '%ls'", baseName.c_str());
|
||||
return NULL;
|
||||
return false;
|
||||
}
|
||||
// Copy a subset to the requested template
|
||||
CopyPreviewSubset(m_TemplateFileData[templateName], m_TemplateFileData[baseName]);
|
||||
@ -228,7 +228,7 @@ bool CCmpTemplateManager::LoadTemplateFile(const std::wstring& templateName, int
|
||||
if (!LoadTemplateFile(baseName, depth+1))
|
||||
{
|
||||
LOGERROR(L"Failed to load entity template '%ls'", baseName.c_str());
|
||||
return NULL;
|
||||
return false;
|
||||
}
|
||||
// Copy a subset to the requested template
|
||||
CopyFoundationSubset(m_TemplateFileData[templateName], m_TemplateFileData[baseName]);
|
||||
|
@ -26,6 +26,7 @@ class CMessage
|
||||
protected:
|
||||
CMessage() { }
|
||||
public:
|
||||
virtual ~CMessage() { }
|
||||
virtual EMessageTypeId GetType() const = 0;
|
||||
virtual const char* GetScriptHandlerName() const = 0;
|
||||
virtual const char* GetScriptGlobalHandlerName() const = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user