More effective fixes.

Course playing still results in it playing fine.
This commit is contained in:
Jason Felds
2011-03-19 18:26:55 -04:00
parent 3dcdf67666
commit 22b7b34897
19 changed files with 72 additions and 55 deletions
+2 -5
View File
@@ -18,17 +18,14 @@ template<typename T>
class CachedObject
{
public:
CachedObject()
CachedObject(): m_pObject(NULL)
{
m_pObject = NULL;
/* A new object is being constructed, so invalidate negative caching. */
ClearCacheNegative();
}
CachedObject( const CachedObject &cpy )
CachedObject( const CachedObject &cpy ): m_pObject(NULL)
{
m_pObject = NULL;
ClearCacheNegative();
}