mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-10 01:54:20 +01:00
Renamed numerous functions more sensibly and moved all single protos from .h to appropriate .c
This commit is contained in:
parent
6e584e104e
commit
5e5ad41afc
33 changed files with 1626 additions and 689 deletions
|
|
@ -17,6 +17,9 @@
|
|||
#include "genzon.h"
|
||||
#include "dg_olc.h"
|
||||
|
||||
/* local functions */
|
||||
void extract_mobile_all(mob_vnum vnum);
|
||||
|
||||
int add_mobile(struct char_data *mob, mob_vnum vnum)
|
||||
{
|
||||
int rnum, i, found = FALSE, shop, cmd_no;
|
||||
|
|
@ -162,7 +165,7 @@ int delete_mobile(mob_rnum refpt)
|
|||
for (zone = 0; zone <= top_of_zone_table; zone++)
|
||||
for (cmd_no = 0; ZCMD(zone, cmd_no).command != 'S'; cmd_no++)
|
||||
if (ZCMD(zone, cmd_no).command == 'M' && ZCMD(zone, cmd_no).arg1 == refpt)
|
||||
delete_command(&zone_table[zone], cmd_no);
|
||||
delete_zone_command(&zone_table[zone], cmd_no);
|
||||
|
||||
/*
|
||||
* Update shop keepers.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue