[Fix] No longet get negative outfit quantity.
This commit is contained in:
parent
c71b92f5d2
commit
fc5535f0f8
@ -4,7 +4,7 @@
|
|||||||
<ship>Lancer</ship>
|
<ship>Lancer</ship>
|
||||||
<credits>
|
<credits>
|
||||||
<low>500</low>
|
<low>500</low>
|
||||||
<high>1500</high>
|
<high>15000</high>
|
||||||
</credits>
|
</credits>
|
||||||
<system>
|
<system>
|
||||||
<name>KonoSys</name>
|
<name>KonoSys</name>
|
||||||
|
@ -43,8 +43,8 @@
|
|||||||
#define pilot_isDisabled(p) ((p)->flags & PILOT_DISABLED)
|
#define pilot_isDisabled(p) ((p)->flags & PILOT_DISABLED)
|
||||||
|
|
||||||
typedef struct PilotOutfit_ {
|
typedef struct PilotOutfit_ {
|
||||||
Outfit* outfit; // Associated outfit.
|
Outfit* outfit; // Associated outfit.
|
||||||
unsigned int quantity; // Number of outfits of this type that the pilot has.
|
int quantity; // Number of outfits of this type that the pilot has.
|
||||||
unsigned int timer; // Used to store last used weapon time.
|
unsigned int timer; // Used to store last used weapon time.
|
||||||
} PilotOutfit;
|
} PilotOutfit;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user