Skip to content

Commit 1aef089

Browse files
committed
Fix Undersized String
- Ensure we aren't writing random bytes with the pane name
1 parent 331e841 commit 1aef089

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tweaks.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3593,6 +3593,7 @@ TweakError add_ff_warp_button() {
35933593
Pane& newPane = layout.rootPane.children[0].duplicateChildPane(4); // L_WarpArea_00
35943594
prt1& partPane = *dynamic_cast<prt1*>(newPane.pane.get());
35953595
partPane.name = "L_WarpArea_09";
3596+
partPane.name.resize(0x18);
35963597
partPane.translation.X = -158.0f;
35973598
partPane.translation.Y = 198.0f;
35983599

0 commit comments

Comments
 (0)