From f9becb0e5266652cfc8237b0a4c1f684b6e4304b Mon Sep 17 00:00:00 2001 From: meep-eep Date: Sun, 20 Nov 2005 19:47:51 +0000 Subject: [PATCH] Some cleanup. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2010 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/sc2code/races.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sc2/src/sc2code/races.h b/sc2/src/sc2code/races.h index 156d6caab..0b362e641 100644 --- a/sc2/src/sc2code/races.h +++ b/sc2/src/sc2code/races.h @@ -72,12 +72,13 @@ typedef struct captain_stuff typedef CAPTAIN_STUFF *PCAPTAIN_STUFF; #define CAPTAIN_STUFFPTR PCAPTAIN_STUFF +typedef void (IntelligenceFunc) (PVOID ShipPtr, PVOID ObjectsOfConcern, + COUNT ConcernCounter); typedef struct { COUNT ManeuverabilityIndex; COUNT WeaponRange; - void (*intelligence_func) (PVOID ShipPtr, PVOID ObjectsOfConcern, - COUNT ConcernCounter); + IntelligenceFunc *intelligence_func; } INTEL_STUFF; typedef struct