diff options
author | Susu <bruant.bastien@gmail.com> | 2013-07-29 15:49:14 +0200 |
---|---|---|
committer | Susu <bruant.bastien@gmail.com> | 2013-07-29 15:49:14 +0200 |
commit | 853489bcb5f2acfce14731b117ddc2b246042883 (patch) | |
tree | a1418ef7a65a26af3693edd0576abdbf83ce24f7 /src/map/npc.c | |
parent | 9d5309327da9543f86385549001df7e9a7c98833 (diff) | |
download | hercules-853489bcb5f2acfce14731b117ddc2b246042883.tar.gz hercules-853489bcb5f2acfce14731b117ddc2b246042883.tar.bz2 hercules-853489bcb5f2acfce14731b117ddc2b246042883.tar.xz hercules-853489bcb5f2acfce14731b117ddc2b246042883.zip |
Added intif interface
Diffstat (limited to 'src/map/npc.c')
-rw-r--r-- | src/map/npc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/npc.c b/src/map/npc.c index 6bb058229..8a2c0f746 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -1710,7 +1710,7 @@ int npc_selllist(struct map_session_data* sd, int n, unsigned short* item_list) if( sd->inventory_data[idx]->type == IT_PETEGG && sd->status.inventory[idx].card[0] == CARD0_PET ) { if( search_petDB_index(sd->status.inventory[idx].nameid, PET_EGG) >= 0 ) { - intif_delete_petdata(MakeDWord(sd->status.inventory[idx].card[1], sd->status.inventory[idx].card[2])); + intif->delete_petdata(MakeDWord(sd->status.inventory[idx].card[1], sd->status.inventory[idx].card[2])); } } @@ -3865,7 +3865,7 @@ int npc_reload(void) { ShowStatus("Event '"CL_WHITE"OnInit"CL_RESET"' executed with '"CL_WHITE"%d"CL_RESET"' NPCs.\n",npc_event_doall("OnInit")); // Execute rest of the startup events if connected to char-server. [Lance] - if(!CheckForCharServer()){ + if(!intif->CheckForCharServer()){ ShowStatus("Event '"CL_WHITE"OnInterIfInit"CL_RESET"' executed with '"CL_WHITE"%d"CL_RESET"' NPCs.\n", npc_event_doall("OnInterIfInit")); ShowStatus("Event '"CL_WHITE"OnInterIfInitOnce"CL_RESET"' executed with '"CL_WHITE"%d"CL_RESET"' NPCs.\n", npc_event_doall("OnInterIfInitOnce")); } |