Skip to content
Merged
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 CREDITS.md
Original file line number Diff line number Diff line change
Expand Up @@ -655,6 +655,7 @@ This page lists all the individual contributions to the project by their author.
- Fix an issue where the vanilla script ignores jumpjets
- CellSpread in cylinder shape
- CellSpread damage check if victim is in air or on floor
- Fix an issue where non-repairer units needed sensors to attack cloaked friendly units
- **solar-III (凤九歌)**
- Target scanning delay customization (documentation)
- Skip target scanning function calling for unarmed technos (documentation)
Expand Down
1 change: 1 addition & 0 deletions docs/Fixed-or-Improved-Logics.md
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ This page describes all ingame logics that are fixed or improved in Phobos witho
- Fixed the issue that units will goto farest location if target is closer than `MinimumRange`.
- Fixed a bug where units can be promoted when created via trigger actions even if they have `Trainable=false`.
- Fixed the bug that ai will try to product aircraft even the airport has no free dock for it.
- Fixed the issue where non-repairer units needed sensors to attack cloaked friendly units.

## Fixes / interactions with other extensions

Expand Down
1 change: 1 addition & 0 deletions docs/Whats-New.md
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,7 @@ Vanilla fixes:
- Fixed the issue that units will goto farest location if target is closer than `MinimumRange` (by NetsuNegi)
- Fixed a bug where units can be promoted when created via trigger actions even if they have `Trainable=false` (by NetsuNegi)
- Fixed the bug that ai will try to product aircraft even the airport has no free dock for it (by NetsuNegi)
- Fixed the issue where non-repairer units needed sensors to attack cloaked friendly units (by TaranDahl)

Phobos fixes:
- Fixed the bug that `AllowAirstrike=no` cannot completely prevent air strikes from being launched against it (by NetsuNegi)
Expand Down
5 changes: 4 additions & 1 deletion src/Misc/Hooks.BugFixes.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <AircraftClass.h>
#include <AircraftClass.h>
#include <AircraftTrackerClass.h>
#include <AnimClass.h>
#include <BuildingClass.h>
Expand Down Expand Up @@ -2909,3 +2909,6 @@ DEFINE_HOOK(0x65DE82, TeamTypeClass_CreateTeamMembers_Veterancy, 0x6)

return pTechnoType->Trainable ? 0 : SkipVeterancy;
}

// Fixed the issue where non-repairer units needed sensors to attack cloaked friendly units.
DEFINE_JUMP(LJMP, 0x6FC278, 0x6FC289);