Convert to SoldierID

This commit is contained in:
Asdow
2024-11-17 21:09:13 +02:00
parent b9641d4c90
commit b6e8b0c5ff
5 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -537,7 +537,7 @@ void ResetLightEffects()
}
// Flugente: create and destroy light sources tied to a person
void CreatePersonalLight( INT32 sGridNo, UINT16 ubID )
void CreatePersonalLight( INT32 sGridNo, SoldierID ubID )
{
INT32 iLightIndex = NewLightEffectInternal( sGridNo, 0, 1 );
@@ -548,7 +548,7 @@ void CreatePersonalLight( INT32 sGridNo, UINT16 ubID )
}
}
void RemovePersonalLights( UINT16 ubID )
void RemovePersonalLights( SoldierID ubID )
{
LIGHTEFFECT *pLight;
+4 -4
View File
@@ -25,7 +25,7 @@ typedef struct
// Flugente: added variables necessary for dynamic (flash-)lighting
INT32 flags;
UINT16 ubOwner;
SoldierID ubOwner;
} LIGHTEFFECT;
@@ -55,7 +55,7 @@ void ResetLightEffects();
BOOLEAN IsLightEffectAtTile( INT32 sGridNo );
// Flugente: create and destroy light sources tied to a person
void CreatePersonalLight( INT32 sGridNo, UINT16 ubID );
void RemovePersonalLights( UINT16 ubID );
void CreatePersonalLight( INT32 sGridNo, SoldierID ubID );
void RemovePersonalLights(SoldierID ubID );
#endif
#endif