fix disable von befehle: global.disable muss auf 1 und nicht 0 gesetzt

werden, sonst triggert das if(global.disable) natürlich nicht
This commit is contained in:
Katja Zedel 2002-01-27 10:52:06 +00:00
parent 233fe1b72b
commit abe8bc00a9
2 changed files with 2 additions and 2 deletions

View File

@ -2120,7 +2120,7 @@ parse_tagbegin(struct xml_stack *stack)
int k;
for (k=0;k!=MAXKEYWORDS;++k) {
if (strncmp(keywords[k], name, strlen(name))==0) {
global.disabled[k]=0;
global.disabled[k]=1;
break;
}
}

View File

@ -838,7 +838,7 @@
<skill name="sk_weaponsmithing" modifier="14"></skill>
<attack type="4" damage="2d8+4"></attack>
</race>
<race name="spell" magres="0.000000" maxaura="1.000000" regaura="0.100000" recruitcost="0" maintenance="0" weight="0" speed="0.000000" hp="1" ac="0" damage="1d4" unarmedattack="-2" unarmeddefense="-2" attackmodifier="0" defensemodifier="0" nolearn noheal noweapons illusionary>
<race name="spell" magres="0.000000" maxaura="1.000000" regaura="0.100000" recruitcost="0" maintenance="0" weight="0" speed="0.000000" hp="1" ac="0" damage="1d4" unarmedattack="-2" unarmeddefense="-2" attackmodifier="0" defensemodifier="0" nolearn noheal noweapons illusionary fly swim walk>
<ai splitsize="1"></ai>
<attack type="1" damage="1d4"></attack>
</race>