Skip to content

Commit 09763b6

Browse files
committed
Added cMission::SetState address
1 parent 36c8999 commit 09763b6

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Spore ModAPI/SourceCode/DLL/AddressesSimulator.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -659,6 +659,11 @@ namespace Simulator
659659
DefineAddress(ThereIsEventInPlanet, SelectAddress(0xFEE8A0, 0xFEE020));
660660
}
661661

662+
namespace Addresses(cMission)
663+
{
664+
DefineAddress(SetState, SelectAddress(0xC47C40, 0xC47E20));
665+
}
666+
662667
namespace Addresses(cGameTimeManager)
663668
{
664669
DefineAddress(Get, SelectAddress(0xB3D2E0, 0xB3D480));

Spore ModAPI/Spore/Simulator/cMission.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ namespace Simulator
306306

307307
namespace Addresses(cMission)
308308
{
309-
DeclareAddress(SetState); // 0xC47C40
309+
DeclareAddress(SetState); // 0xC47C40 0xC47E20
310310
DeclareAddress(GetOwnerEmpire); // 0xC44930
311311
DeclareAddress(GetTargetEmpire); // 0xC449F0
312312
DeclareAddress(SetTargetEmpire); // 0xC449A0

0 commit comments

Comments
 (0)