summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
Diffstat (limited to 'src/map')
-rw-r--r--src/map/skill.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index eab031766..6bd17dec0 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -11285,7 +11285,11 @@ int skill_readdb (void)
p = split[8];
for(j=0;j<32;j++){
l = atoi(p);
- if (l)
+ if (l==99) {
+ skill_db[i].ammo = 0xffffffff;
+ break;
+ }
+ else if (l)
skill_db[i].ammo |= 1<<l;
p=strchr(p,':');
if(!p)