This commit is contained in:
parent
1a5a4b1c80
commit
89a2f2b65a
@ -83,7 +83,6 @@ CAnimTex *ThisTex=new ("CAnimTex::AddAnimTex") CAnimTex;
|
|||||||
ThisTex->TexData=(u32*)MemAlloc(Size*sizeof(u16), "AnTx");
|
ThisTex->TexData=(u32*)MemAlloc(Size*sizeof(u16), "AnTx");
|
||||||
DrawSync(0);
|
DrawSync(0);
|
||||||
StoreImage(&ThisTex->Rect,(u32*)ThisTex->TexData);
|
StoreImage(&ThisTex->Rect,(u32*)ThisTex->TexData);
|
||||||
PAUL_DBGMSG("1 added");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
@ -103,7 +102,6 @@ CAnimTex *PrevTex, *ThisTex, *NextTex;
|
|||||||
if (PrevTex) PrevTex->NextTex=NextTex;
|
if (PrevTex) PrevTex->NextTex=NextTex;
|
||||||
if (ThisTex==AnimTexList) AnimTexList=NextTex;
|
if (ThisTex==AnimTexList) AnimTexList=NextTex;
|
||||||
delete ThisTex;
|
delete ThisTex;
|
||||||
PAUL_DBGMSG("1 removed");
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user