Remove bogus use of inline to improve crash reports.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10495 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
db2e3f3d16
commit
f6c50b01ce
|
@ -1660,7 +1660,7 @@ void AddDerrickBurningMessage(void)
|
|||
audio_PlayTrack( ID_SOUND_BUILD_FAIL );
|
||||
}
|
||||
|
||||
static inline void dealWithLMBDroid(DROID* psDroid, SELECTION_TYPE selection)
|
||||
static void dealWithLMBDroid(DROID* psDroid, SELECTION_TYPE selection)
|
||||
{
|
||||
bool ownDroid; // Not an allied droid
|
||||
|
||||
|
@ -1863,7 +1863,7 @@ static inline void dealWithLMBDroid(DROID* psDroid, SELECTION_TYPE selection)
|
|||
|
||||
}
|
||||
|
||||
static inline void dealWithLMBStructure(STRUCTURE* psStructure, SELECTION_TYPE selection)
|
||||
static void dealWithLMBStructure(STRUCTURE* psStructure, SELECTION_TYPE selection)
|
||||
{
|
||||
// clearSelection(); // Clear droid selection.
|
||||
bool ownStruct = (psStructure->player == selectedPlayer);
|
||||
|
@ -1968,7 +1968,7 @@ static inline void dealWithLMBStructure(STRUCTURE* psStructure, SELECTION_TYPE s
|
|||
driveDisableTactical();
|
||||
}
|
||||
|
||||
static inline void dealWithLMBFeature(FEATURE* psFeature)
|
||||
static void dealWithLMBFeature(FEATURE* psFeature)
|
||||
{
|
||||
//some features are targetable
|
||||
//check for constructor droid trying to remove wrecked building first
|
||||
|
@ -2088,7 +2088,7 @@ static inline void dealWithLMBFeature(FEATURE* psFeature)
|
|||
driveDisableTactical();
|
||||
}
|
||||
|
||||
static inline void dealWithLMBObject(BASE_OBJECT* psClickedOn)
|
||||
static void dealWithLMBObject(BASE_OBJECT* psClickedOn)
|
||||
{
|
||||
SELECTION_TYPE selection = establishSelection(selectedPlayer);
|
||||
OBJECT_TYPE type = psClickedOn->type;
|
||||
|
|
Loading…
Reference in New Issue