mirror of
https://github.com/zeldaret/tww.git
synced 2026-06-29 18:52:16 -04:00
Fix particle_set inlines (#971)
This commit is contained in:
@@ -286,16 +286,12 @@ static BOOL daGhostshipExecute(void* i_this) {
|
||||
/* 00001048-0000182C .text _execute__13daGhostship_cFv */
|
||||
bool daGhostship_c::_execute() {
|
||||
f32 time = dComIfGs_getTime();
|
||||
f32 dist = fopAcM_searchActorDistanceXZ(this, dComIfGp_getPlayer(0));
|
||||
fopAc_ac_c* player = dComIfGp_getPlayer(0);
|
||||
// Fakematch, debug map says fopAcM_searchPlayerDistanceXZ was used
|
||||
f32 dist = fopAcM_searchActorDistanceXZ(this, player);
|
||||
|
||||
mbCanEnterShip = false;
|
||||
if(moonPhase != dKy_moon_type_chk() ||
|
||||
#if VERSION == VERSION_DEMO
|
||||
(time > 90.0f && time < 330.0f)
|
||||
#else
|
||||
(time > 90.0f && time < 285.0f)
|
||||
#endif
|
||||
) {
|
||||
if(moonPhase != dKy_moon_type_chk() || (time > 90.0f && time < DEMO_SELECT(330.0f, 285.0f))) {
|
||||
dKy_pship_existense_cut();
|
||||
mAlpha = 0.0f;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user