mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-04-30 16:57:57 +03:00
14 lines
No EOL
361 B
C++
14 lines
No EOL
361 B
C++
#include "../newobjects.h"
|
|
#include "../../Game/items.h"
|
|
|
|
void InitialiseLightingGuide(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;
|
|
} |