Skip to content

Commit

Permalink
add Set_Liquid_Depth to events list in object mode
Browse files Browse the repository at this point in the history
  • Loading branch information
GooberRF committed Dec 11, 2024
1 parent aeaf9d1 commit ee95a2f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ Version 1.9.0 (not released yet)
- Add mod name to main menu
- Make value of `spectate_mode_minimal_ui` persist between game launches
- Add `version` command
- Add `Set_Liquid_Depth` event to event menu in level editor object mode panel

[@is-this-c](https://github.com/is-this-c)
- Support `©` in TrueType fonts
Expand Down
3 changes: 3 additions & 0 deletions editor_patch/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -596,6 +596,9 @@ extern "C" DWORD DF_DLL_EXPORT Init([[maybe_unused]] void* unused)
// Disable red bacground if limits are crossed - dynamic allocation is used then
AsmWriter{0x0043A528, 0x0043A546}.nop();

// Make Set_Liquid_Depth show in events panel
AsmWriter(0x004440B4).push("");

return 1; // success
}

Expand Down

0 comments on commit ee95a2f

Please sign in to comment.