mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-15 04:18:07 +01:00
Minor code changes and updated World and files for 3.60 release. --Rumble
This commit is contained in:
parent
f9f356823f
commit
5e3caf42ff
204 changed files with 17044 additions and 16851 deletions
4
src/db.c
4
src/db.c
|
|
@ -1522,7 +1522,7 @@ static void interpret_espec(const char *keyword, const char *value, int i, int n
|
|||
num_arg = atoi(value);
|
||||
|
||||
CASE("BareHandAttack") {
|
||||
RANGE(0, 99);
|
||||
RANGE(0, NUM_ATTACK_TYPES - 1);
|
||||
mob_proto[i].mob_specials.attack_type = num_arg;
|
||||
}
|
||||
|
||||
|
|
@ -2094,7 +2094,7 @@ static void load_zones(FILE *fl, char *zonename)
|
|||
break;
|
||||
}
|
||||
error = 0;
|
||||
if (strchr("MOEPDTV", ZCMD.command) == NULL) { /* a 3-arg command */
|
||||
if (strchr("MOGEPDTV", ZCMD.command) == NULL) { /* a 3-arg command */
|
||||
if (sscanf(ptr, " %d %d %d ", &tmp, &ZCMD.arg1, &ZCMD.arg2) != 3)
|
||||
error = 1;
|
||||
} else if (ZCMD.command=='V') { /* a string-arg command */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue