Skip to content

Commit

Permalink
Added elemental interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Earisu committed Jul 29, 2013
1 parent 5a22b04 commit 9d53093
Show file tree
Hide file tree
Showing 12 changed files with 1,129 additions and 1,069 deletions.
4 changes: 2 additions & 2 deletions src/map/atcommand.c
Expand Up @@ -3600,7 +3600,7 @@ ACMD(reloadmobdb) {
homun->reload();
read_mercenarydb();
read_mercenary_skilldb();
reload_elementaldb();
elemental->reload_elementaldb();
clif->message(fd, msg_txt(98)); // Monster database has been reloaded.

return true;
Expand All @@ -3614,7 +3614,7 @@ ACMD(reloadskilldb)
nullpo_retr(-1, sd);
skill->reload();
homun->reload_skill();
reload_elemental_skilldb();
elemental->reload_skilldb();
read_mercenary_skilldb();
clif->message(fd, msg_txt(99)); // Skill database has been reloaded.

Expand Down
4 changes: 2 additions & 2 deletions src/map/chrif.c
Expand Up @@ -314,8 +314,8 @@ int chrif_save(struct map_session_data *sd, int flag) {
homun->save(sd->hd);
if( sd->md && mercenary_get_lifetime(sd->md) > 0 )
mercenary_save(sd->md);
if( sd->ed && elemental_get_lifetime(sd->ed) > 0 )
elemental_save(sd->ed);
if( sd->ed && elemental->get_lifetime(sd->ed) > 0 )
elemental->save(sd->ed);
if( sd->save_quest )
intif_quest_save(sd);

Expand Down
2 changes: 1 addition & 1 deletion src/map/duel.c
Expand Up @@ -185,7 +185,7 @@ void do_init_duel(void)
* Generated by HerculesInterfaceMaker
* created by Susu
*-------------------------------------*/
void duel_defaults(void) {
void iDuel_defaults(void) {
iDuel = &iDuel_s;
/* vars */
iDuel->duel_count = 0;
Expand Down
2 changes: 1 addition & 1 deletion src/map/duel.h
Expand Up @@ -40,6 +40,6 @@ struct duel_interface {

struct duel_interface *iDuel;

void duel_defaults(void);
void iDuel_defaults(void);

#endif /* _DUEL_H_ */

0 comments on commit 9d53093

Please sign in to comment.