Skip to content

Commit 9c0971f

Browse files
committed
remove white space
todo: add this to v0.3
1 parent 1b99d5d commit 9c0971f

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

CREDITS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ This page lists all the individual contributions to the project by their author.
187187
- Turret direction in idle state fix
188188
- Sensor fix
189189
- Object Self-destruction logic
190+
- Post-type-conversion update
190191
- Building EVA_StructureSold and SellSound dehardcode
191192
- Slaves' house customization when owner is killed
192193
- Campaign AI's base node/SW-delivered/trigger action 125-delivered structures' auto-repairability dehardcode

docs/Whats-New.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,7 @@ Phobos fixes:
415415
- Fixed teleporting miners (Chrono Miner) considered to be idle by harvester counter, improved related game performance (by Trsdy)
416416
- Fixed negative damage weapons considering shield health when evaluating targets even if Warhead had `Shield.Penetrate` set to true (by Starkku)
417417
- Fixed shield animations (`IdleAnim`, `BreakAnim` and `HitAnim`) showing up even if the object shield is attached to is currently underground (by Starkku)
418+
- Fixed shield and laser trails update after type conversion (by Trsdy)
418419

419420
Non-DLL:
420421
- Implemented a tool (sed wrapper) to semi-automatically upgrade INIs to use latest Phobos tags (by Kerbiter)

src/Ext/Techno/Body.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ void TechnoExt::ExtData::UpdateTypeData(TechnoTypeClass* currentType)
281281

282282
// Reset AutoDeath Timer - TODO : should it use the max of the old delay and new one?
283283
if (this->AutoDeathTimer.HasStarted())
284-
this->AutoDeathTimer.Stop();
284+
this->AutoDeathTimer.Stop();
285285

286286
// Reset PassengerDeletion Timer - TODO : unchecked
287287
if (this->PassengerDeletionTimer.IsTicking() && this->TypeExtData->PassengerDeletion_Rate <= 0)
@@ -303,6 +303,7 @@ bool TechnoExt::IsActive(TechnoClass* pThis)
303303
!pThis->InLimbo;
304304
}
305305

306+
// FS-21 FIX THIS
306307
void TechnoExt::ObjectKilledBy(TechnoClass* pVictim, TechnoClass* pKiller)
307308
{
308309
if (auto pVictimTechno = static_cast<TechnoClass*>(pVictim))

src/Ext/Techno/Hooks.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ DEFINE_HOOK(0x6F42F7, TechnoClass_Init_NewEntities, 0x2)
5959
return 0;
6060
}
6161

62-
DEFINE_HOOK(0x702E4E, TechnoClass_Save_Killer_Techno, 0x6)
62+
DEFINE_HOOK(0x702E4E, TechnoClass_RegisterDestruction_SaveKillerInfo, 0x6)
6363
{
6464
GET(TechnoClass*, pKiller, EDI);
6565
GET(TechnoClass*, pVictim, ECX);

0 commit comments

Comments
 (0)