mirror of
https://github.com/Cesarus85/ringfall-mjolnir-vr.git
synced 2026-10-22 06:00:29 +02:00
38 lines
567 B
C
38 lines
567 B
C
/*
|
|
ACTION_SLEEP.C
|
|
|
|
symbols in this file:
|
|
00008660 0030:
|
|
_action_sleep_control (0000)
|
|
*/
|
|
|
|
/* ---------- headers */
|
|
|
|
#include "cseries/cseries.h"
|
|
#include "ai/actors.h"
|
|
|
|
/* ---------- constants */
|
|
|
|
enum
|
|
{
|
|
_actor_persistent_control_ticks_offset = 0x3FC,
|
|
};
|
|
|
|
/* ---------- macros */
|
|
|
|
/* ---------- structures */
|
|
|
|
/* ---------- prototypes */
|
|
|
|
/* ---------- globals */
|
|
|
|
/* ---------- public code */
|
|
|
|
void action_sleep_control(
|
|
long actor_index)
|
|
{
|
|
*(short *)((byte *)actor_get(actor_index) + _actor_persistent_control_ticks_offset) = 0;
|
|
}
|
|
|
|
/* ---------- private code */
|