add assert

This commit is contained in:
Glenn Maynard
2005-10-11 21:45:35 +00:00
parent 2a57f5aad8
commit 1733cc128c
+5
View File
@@ -238,6 +238,11 @@ all_done:
Actor* ActorUtil::MakeActor( const CString &sPath_ )
{
CString sPath( sPath_ );
/* If @ expressions are allowed through this path, we've already
* evaluated them. Make sure we don't allow double-evaluation. */
ASSERT_M( sPath.empty() || sPath[0] != '@', sPath );
FileType ft = GetFileType( sPath );
switch( ft )
{