diff --git a/client/Messages.cs b/client/Messages.cs index 5a7b20b..da6ebd9 100644 --- a/client/Messages.cs +++ b/client/Messages.cs @@ -14,6 +14,7 @@ internal class Messages : IDisposable { "bg/ffxiv/fst_f1/common/vfx/eff/b0941trp1c_o.avfx", "bg/ffxiv/fst_f1/common/vfx/eff/b0941trp1d_o.avfx", "bg/ffxiv/fst_f1/common/vfx/eff/b0941trp1e_o.avfx", + "bg/ex2/02_est_e3/common/vfx/eff/b0941trp1f_o.avfx", }; private Plugin Plugin { get; } diff --git a/client/Ui/MainWindowTabs/Settings.cs b/client/Ui/MainWindowTabs/Settings.cs index 9b04c3a..1d18167 100644 --- a/client/Ui/MainWindowTabs/Settings.cs +++ b/client/Ui/MainWindowTabs/Settings.cs @@ -188,7 +188,7 @@ internal class Settings : ITab { var glyph = this.Plugin.Config.DefaultGlyph + 1; if (ImGui.InputInt("Default glyph", ref glyph)) { - this.Plugin.Config.DefaultGlyph = Math.Min(4, Math.Max(0, glyph - 1)); + this.Plugin.Config.DefaultGlyph = Math.Min(Messages.VfxPaths.Length - 1, Math.Max(0, glyph - 1)); anyChanged = true; } }