Skip to content
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 CREDITS.md
Original file line number Diff line number Diff line change
Expand Up @@ -699,6 +699,7 @@ This page lists all the individual contributions to the project by their author.
- Global default value for `DefaultToGuardArea`
- Weapon range finding in cylinder
- Allow jumpjet climbing ignore building height
- Fix an issue that the move mission of the jumpjet does not end correctly
- **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 @@ -298,6 +298,7 @@ This page describes all ingame logics that are fixed or improved in Phobos witho
- Fixed the bug that cause technos teleport to cell 0,0 by ChronoSphere superweapon.
- Fixed the bug that techno in attack move will move to target if it cannot attack it.
- Fixed the bug in AI scripts 56 and 57 that forced the launch of superweapons with index numbers 3 and 4.
- Fixed the issue that the move mission of the jumpjet does not end correctly.

## 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 @@ -1240,6 +1240,7 @@ Vanilla fixes:
- Fixed building `TargetCoordOffset` not being taken into accord for several things like fire angle calculations and target lines (by Starkku)
- Allowed observers to see a selected building's radial indicator (by Trsdy)
- Allow voxel projectiles to use `AnimPalette` and `FirersPalette` (by NetsuNegi)
- Fixed the issue that the move mission of the jumpjet does not end correctly (by TaranDahl)

Phobos fixes:
- Fixed shields being able to take damage when the parent TechnoType was under effects of a `Temporal` Warhead (by Starkku)
Expand Down
14 changes: 14 additions & 0 deletions src/Misc/Hooks.BugFixes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3022,3 +3022,17 @@ DEFINE_HOOK(0x6EA870, TeamClass_LiberateMember_Start, 0x6)
pMember->RecruitableB = true;
return 0;
}

DEFINE_HOOK(0x4D4203, FootClass_MissionMove_EndCheckFix1, 0x6)
{
GET(FootClass*, pThis, ESI);
R->EAX(pThis->Destination && pThis->DistanceFrom(pThis->Destination) > Unsorted::LeptonsPerCell);
return 0x4D4209;
}

DEFINE_HOOK(0x4D4221, FootClass_MissionMove_EndCheckFix2, 0x6)
{
GET(FootClass*, pThis, ESI);
R->AL(pThis->Locomotor.GetInterfacePtr()->Is_Moving_Now());
return 0x4D422D;
}