diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-01-15 01:47:29 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-14 22:47:29 -0800 |
| commit | 2189777abfd60d8c1b9afbcc63f7c6e007f6e37e (patch) | |
| tree | 4495321c2fbccbdada04483a9338e13ca18bf374 /src/d/d_menu_save.cpp | |
| parent | 36daa2588496eb4d84220274c82ea85b0723619f (diff) | |
Fix various issues in TUs marked `Equivalent` (#2286)
Diffstat (limited to 'src/d/d_menu_save.cpp')
| -rw-r--r-- | src/d/d_menu_save.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/d/d_menu_save.cpp b/src/d/d_menu_save.cpp index c6965a7248..41ed7db973 100644 --- a/src/d/d_menu_save.cpp +++ b/src/d/d_menu_save.cpp @@ -358,8 +358,9 @@ void dMenu_save_c::screenSet() { mSelIcon = new dSelect_cursor_c(0, 1.0f, NULL); mSelIcon->setParam(0.96f, 0.94f, 0.03f, 0.7f, 0.7f); - Vec* pos = &mpSelData[mSelectedFile]->getGlobalVtxCenter(false, 0); - mSelIcon->setPos(pos->x, pos->y, mpSelData[mSelectedFile]->getPanePtr(), true); + Vec pos; + pos = mpSelData[mSelectedFile]->getGlobalVtxCenter(false, 0); + mSelIcon->setPos(pos.x, pos.y, mpSelData[mSelectedFile]->getPanePtr(), true); mSelIcon->setAlphaRate(0.0f); J2DPane* pane = mSaveSel.Scr->search('Nm_02'); |
