mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-20 13:23:45 -07:00
add cue to water temple vortexes
This commit is contained in:
parent
8deea762ef
commit
ea891768ae
1 changed files with 1 additions and 4 deletions
|
@ -1,12 +1,8 @@
|
||||||
#include "ActorAccessibility.h"
|
#include "ActorAccessibility.h"
|
||||||
#include "soh/OTRGlobals.h"
|
#include "soh/OTRGlobals.h"
|
||||||
|
|
||||||
#include <map>
|
|
||||||
|
|
||||||
#include <functions.h>
|
#include <functions.h>
|
||||||
#include <macros.h>
|
#include <macros.h>
|
||||||
#include <stdio.h>
|
|
||||||
#include <string>
|
|
||||||
#include <float.h>
|
#include <float.h>
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
@ -1083,6 +1079,7 @@ void ActorAccessibility_InitActors() {
|
||||||
policy.distance = 500;
|
policy.distance = 500;
|
||||||
policy.ydist = 500;
|
policy.ydist = 500;
|
||||||
ActorAccessibility_AddSupportedActor(VA_VOID, policy);
|
ActorAccessibility_AddSupportedActor(VA_VOID, policy);
|
||||||
|
ActorAccessibility_AddSupportedActor(ACTOR_EN_STREAM, policy);
|
||||||
ActorAccessibility_InitPolicy(&policy, "Ladder/climable", [](AccessibleActor* actor) {
|
ActorAccessibility_InitPolicy(&policy, "Ladder/climable", [](AccessibleActor* actor) {
|
||||||
Player* player = GET_PLAYER(actor->play);
|
Player* player = GET_PLAYER(actor->play);
|
||||||
f32 waterLoc = player->actor.yDistToWater + player->actor.world.pos.y;
|
f32 waterLoc = player->actor.yDistToWater + player->actor.world.pos.y;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue