[Nov 12 2007] - Rumble

Updated users command to fix GET_INVIS_LEV bug.
  Updated the drink command to work in rooms where the sector type should logically allow it.
[Oct 04 2007] - Rumble
  Increased the size of a mail message from 4k to 8k.
  Updated remove_player so that the players command would not show phantom users when someone self-deletes.
  Updated sedit_rooms_menu to prevent a crash bug when trying to display a shop with rooms that have been removed.
[Nov 01 2007] - Rumble
  Updated mag_objectmagic bug where action description was not being used correctly on scrolls.
  Increased the size of MAX_RAW_INPUT_LENGTH and PLR_DESC_LENGTH.
[Oct 19 2007] - Rumble
  Fixed a few more 128 bit MOB_FLAGGED bugs.
[Oct 17 2007] - Rumble
  Fixed loading of non-128 bit prefs in load_char. (thanks Ziz)
[Oct 15 2007] - Rumble
  Removed some prototypes leftover from the old history command. (thanks Rhade)
This commit is contained in:
Rumble
2007-11-23 22:24:38 +00:00
parent 0cf7b69493
commit 9107040d32
22 changed files with 108 additions and 104 deletions

View File

@@ -3233,7 +3233,7 @@ int check_object_spell_number(struct obj_data *obj, int val)
int error = FALSE;
const char *spellname;
if (GET_OBJ_VAL(obj, val) == -1) /* i.e.: no spell */
if (GET_OBJ_VAL(obj, val) == -1 || GET_OBJ_VAL(obj, val) == 0) /* no spell */
return (error);
/* Check for negative spells, spells beyond the top define, and any spell
@@ -3428,6 +3428,7 @@ void load_config( void )
snprintf(buf, sizeof(buf), "%s/%s", DFLT_DIR, CONFIG_CONFFILE);
if ( !(fl = fopen(CONFIG_CONFFILE, "r")) && !(fl = fopen(buf, "r")) ) {
snprintf(buf, sizeof(buf), "No %s file, using defaults", CONFIG_CONFFILE);
perror(buf);
return;
}