PennMUSH Community

Changeset 936

Show
Ignore:
Timestamp:
06/14/07 13:38:24 (1 year ago)
Author:
shawnw
Message:

Helpfiles and objdata fixes from 1.8.3

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 1.8.2/branches/devel/game/txt/hlp/penncmd.hlp

    r808 r936  
    15671567 For example: 
    15681568  @function/delete ansi 
    1569   &ansi_fun #1234=%0 
     1569  &ansi_fun #1234=%1 
    15701570  @function ansi=#1234, ansi_fun, 2, 2, noguest 
    15711571 
  • 1.8.2/branches/devel/src/db.c

    r932 r936  
    12761276    case '~': 
    12771277      db_init = (getref(f) * 3) / 2; 
    1278       init_objdata_htab(db_init, NULL); 
     1278      init_objdata_htab(db_init / 8, NULL); 
    12791279      break; 
    12801280      /* Use the MUSH 2.0 header stuff to see what's in this db */ 
     
    15351535    case '~': 
    15361536      db_init = (getref(f) * 3) / 2; 
    1537       init_objdata_htab(db_init, NULL); 
     1537      init_objdata_htab(db_init / 8, NULL); 
    15381538      break; 
    15391539    case '!': 
     
    17351735init_objdata_htab(int size, void (*free_data) (void *)) 
    17361736{ 
     1737  if (size < 128) 
     1738    size = 128; 
    17371739  hash_init(&htab_objdata, size, 4, free_data); 
    17381740  hashinit(&htab_objdata_keys, 8, 32);