Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Set_Liquid_Depth event to events list in object mode #320

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 option panel events list
AsmWriter{0x004440B4}.push("");

return 1; // success
}

Expand Down