mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-01 09:18:00 +03:00
14 lines
358 B
C++
14 lines
358 B
C++
![]() |
#include "../newobjects.h"
|
||
|
#include "../../Game/items.h"
|
||
|
|
||
|
void InitialiseBrownBeast(short itemNum)
|
||
|
{
|
||
|
ITEM_INFO* item;
|
||
|
|
||
|
item = &Items[itemNum];
|
||
|
ClearItem(itemNum);
|
||
|
item->animNumber = Objects[item->objectNumber].animIndex;
|
||
|
item->frameNumber = Anims[item->animNumber].frameBase;
|
||
|
item->goalAnimState = 1;
|
||
|
item->currentAnimState = 1;
|
||
|
}
|