From fc5535f0f8912ad2981384c824bfcd4d540ed86d Mon Sep 17 00:00:00 2001 From: Allanis Date: Fri, 8 Mar 2013 14:26:56 +0000 Subject: [PATCH] [Fix] No longet get negative outfit quantity. --- dat/start.xml | 2 +- src/pilot.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dat/start.xml b/dat/start.xml index e3dd9c2..9a67703 100644 --- a/dat/start.xml +++ b/dat/start.xml @@ -4,7 +4,7 @@ Lancer 500 - 1500 + 15000 KonoSys diff --git a/src/pilot.h b/src/pilot.h index c4b3cda..841292f 100644 --- a/src/pilot.h +++ b/src/pilot.h @@ -43,8 +43,8 @@ #define pilot_isDisabled(p) ((p)->flags & PILOT_DISABLED) typedef struct PilotOutfit_ { - Outfit* outfit; // Associated outfit. - unsigned int quantity; // Number of outfits of this type that the pilot has. + Outfit* outfit; // Associated outfit. + int quantity; // Number of outfits of this type that the pilot has. unsigned int timer; // Used to store last used weapon time. } PilotOutfit;