mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-21 11:01:44 +01:00
tbaMUD 3.54
[Oct 10 2007] - Rumble Added OLC menu options for Copying. The Xcopy option is still available for GODs and above. Player table is now created if it does not exist. (thanks Rhade) [Oct 08 2007] - Rumble Removed top_shop_offset variable, hopefully fixing the infamous sedit bug. Fixed memory leaks from not freeing new zone builders and new zone commands. (thanks Neme)
This commit is contained in:
@@ -101,6 +101,7 @@ int create_entry(char *name)
|
||||
|
||||
if (top_of_p_table == -1) { /* no table */
|
||||
pos = top_of_p_table = 0;
|
||||
CREATE(player_table, struct player_index_element, 1);
|
||||
} else if ((pos = get_ptable_by_name(name)) == -1) { /* new name */
|
||||
i = ++top_of_p_table + 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user