mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-06-11 13:19:51 -04:00
[Bug Fix] Fix Dark Link Crash/Missing Trails Bug (#6720)
Delete Unused Effect Slot
This commit is contained in:
@@ -70,6 +70,10 @@ void DummyPlayer_Init(Actor* actor, PlayState* play) {
|
||||
Player_SetModelGroup(player, Player_ActionToModelGroup(player, player->heldItemAction));
|
||||
play->playerInit(player, play, gPlayerSkelHeaders[client.linkAge]);
|
||||
|
||||
// Prevent dummy players from holding a weapon trail effect slot, as they don't use it anyway
|
||||
Effect_Delete(play, player->meleeWeaponEffectIndex);
|
||||
player->meleeWeaponEffectIndex = TOTAL_EFFECT_COUNT;
|
||||
|
||||
play->func_11D54(player, play);
|
||||
// #endregion
|
||||
|
||||
|
||||
Reference in New Issue
Block a user