[Fix] No longet get negative outfit quantity.
This commit is contained in:
parent
c71b92f5d2
commit
fc5535f0f8
@ -4,7 +4,7 @@
|
||||
<ship>Lancer</ship>
|
||||
<credits>
|
||||
<low>500</low>
|
||||
<high>1500</high>
|
||||
<high>15000</high>
|
||||
</credits>
|
||||
<system>
|
||||
<name>KonoSys</name>
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user