mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-15 10:54:18 +00:00
Compare commits
1 Commits
OPENURU_BU
...
rarified/p
Author | SHA1 | Date | |
---|---|---|---|
933e6a4579 |
@ -66,7 +66,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
#include "../pnKeyedObject/hsKeyedObject.h"
|
#include "../pnKeyedObject/hsKeyedObject.h"
|
||||||
#include "../pnFactory/plCreatable.h"
|
#include "../pnFactory/plCreatable.h"
|
||||||
#include "../pnNetCommon/plNetApp.h"
|
#include "../pnNetCommon/plNetApp.h"
|
||||||
#include "hsStream.h"
|
#include "hsStream.h"
|
||||||
|
|
||||||
plNetResManager::plNetResManager()
|
plNetResManager::plNetResManager()
|
||||||
{
|
{
|
||||||
@ -92,11 +92,19 @@ plCreatable* plNetResManager::IReadCreatable(hsStream* s) const
|
|||||||
return nil;
|
return nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
void plNetResManager::IKeyReffed(plKeyImp* key)
|
void plNetResManager::IKeyReffed(plKeyImp* key)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
void plNetResManager::IKeyUnreffed(plKeyImp* key)
|
void plNetResManager::IKeyUnreffed(plKeyImp* key)
|
||||||
{
|
{
|
||||||
delete key;
|
// Expanded even with HS_DEBUGGING undefined. XXX
|
||||||
|
// hsAssert( key != nil, "NetResMgr::NIL key to Unref" );
|
||||||
|
if (key == nil) {
|
||||||
|
ErrorAssert(104,
|
||||||
|
"H:\\projects\\OpenURU\\Repo\\Foundry-CWE-ou-minkata\\MOULOpenSourceClientPlugin\\Plasma20\\Sources\\Plasma\\PubUtilLib\\plNetCommon\\plNetResManager.cpp",
|
||||||
|
"NetResMgr::NIL key to Unref");
|
||||||
|
} else {
|
||||||
|
delete key;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user