This commit is contained in:
parent
83ce8fe620
commit
7b93d41657
1 changed files with 0 additions and 2 deletions
|
@ -222,13 +222,11 @@ int CActorPool::FindFreeIdx()
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
/*** Load ********************************************************************/
|
/*** Load ********************************************************************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
int ActorNo=0;
|
|
||||||
CActorGfx *CActorPool::GetActor(FileEquate Filename)
|
CActorGfx *CActorPool::GetActor(FileEquate Filename)
|
||||||
{
|
{
|
||||||
CActorGfx *NewActor;
|
CActorGfx *NewActor;
|
||||||
int Idx;
|
int Idx;
|
||||||
|
|
||||||
Filename=(FileEquate)(ACTORS_SPONGEBOB_SBK+ActorNo);
|
|
||||||
// Already Loaded?
|
// Already Loaded?
|
||||||
Idx=FindIdx(Filename);
|
Idx=FindIdx(Filename);
|
||||||
if (Idx!=-1) return(ActorList[Idx]);
|
if (Idx!=-1) return(ActorList[Idx]);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue