From e7a13104c67c24744364f9d5e02c6198df88332b Mon Sep 17 00:00:00 2001 From: Trsdy <914137150@qq.com> Date: Fri, 6 Dec 2024 03:14:23 +0800 Subject: [PATCH] Increment devbuild number and copyright year --- docs/New-or-Enhanced-Logics.md | 2 +- src/Misc/Hooks.BugFixes.cpp | 2 +- src/Phobos.version.h | 2 +- src/version.rc | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/New-or-Enhanced-Logics.md b/docs/New-or-Enhanced-Logics.md index 2e8c80f3fd..b789131486 100644 --- a/docs/New-or-Enhanced-Logics.md +++ b/docs/New-or-Enhanced-Logics.md @@ -35,7 +35,7 @@ This page describes all the engine features that are either new and introduced b - `Tint.VisibleToHouses` can be used to control which houses can see the tint effect. - `FirepowerMultiplier`, `ArmorMultiplier`, `SpeedMultiplier` and `ROFMultiplier` can be used to modify the object's firepower, armor strength, movement speed and weapon reload rate, respectively. - `ArmorMultiplier.AllowWarheads` and `ArmorMultiplier.DisallowWarheads` can be used to restrict which Warheads the armor multiplier is applied to when dealing damage. - - If `ROFMultiplier.ApplyOnCurrentTimer` is set to true, `ROFMultiplier` is applied on currently running reload timer (if any) when the effect is first applied. + - If `ROFMultiplier.ApplyOnCurrentTimer` is set to true, `ROFMultiplier` is applied on currently running reload timer (if any) when the effect is first applied. - If `Cloakable` is set to true, the object the effect is attached to is granted ability to cloak itself for duration of the effect. - `ForceDecloak`, if set to true, will uncloak and make the object the effect is attached to unable to cloak itself for duration of the effect. - `WeaponRange.Multiplier` and `WeaponRange.ExtraRange` can be used to multiply the weapon firing range of the object the effect is attached to, or give it an increase / decrease (measured in cells), respectively. `ExtraRange` is cumulatively applied from all attached effects after all `Multiplier` values have been applied. diff --git a/src/Misc/Hooks.BugFixes.cpp b/src/Misc/Hooks.BugFixes.cpp index c5bd97b7ca..ea4ebe7535 100644 --- a/src/Misc/Hooks.BugFixes.cpp +++ b/src/Misc/Hooks.BugFixes.cpp @@ -761,7 +761,7 @@ DEFINE_HOOK(0x6D9781, Tactical_RenderLayers_DrawInfoTipAndSpiedSelection, 0x5) bool __fastcall BuildingClass_SetOwningHouse_Wrapper(BuildingClass* pThis, void*, HouseClass* pHouse, bool announce) { // Fix : Suppress capture EVA event if ConsideredVehicle=yes - if(announce) announce = pThis->IsStrange(); + if(announce) announce = !pThis->IsStrange(); bool res = reinterpret_cast(0x448260)(pThis, pHouse, announce); diff --git a/src/Phobos.version.h b/src/Phobos.version.h index 582baeb145..6486559079 100644 --- a/src/Phobos.version.h +++ b/src/Phobos.version.h @@ -23,7 +23,7 @@ #pragma endregion // Build number. Incremented on each released build. -#define BUILD_NUMBER 44 +#define BUILD_NUMBER 45 // Nightly defines GIT_COMMIT and GIT_BRANCH in GH Actions diff --git a/src/version.rc b/src/version.rc index c579c2e34c..5eb2b93f2d 100644 --- a/src/version.rc +++ b/src/version.rc @@ -22,7 +22,7 @@ BEGIN BEGIN VALUE "ProductName", "Phobos\0" VALUE "CompanyName", "The Phobos Contributors\0" - VALUE "LegalCopyright", "© The Phobos Contributors 2023\0" + VALUE "LegalCopyright", "© The Phobos Contributors 2024\0" VALUE "FileDescription", FILE_DESCRIPTION "\0" VALUE "FileVersion", FILE_VERSION_STR "\0" VALUE "ProductVersion", PRODUCT_VERSION "\0"