summaryrefslogtreecommitdiff
path: root/src/map/chrif.c
diff options
context:
space:
mode:
authorSusu <bruant.bastien@gmail.com>2013-07-29 15:28:48 +0200
committerSusu <bruant.bastien@gmail.com>2013-07-29 15:28:48 +0200
commit9d5309327da9543f86385549001df7e9a7c98833 (patch)
tree8d36faa7961fcca952442caefb93e270140e11a9 /src/map/chrif.c
parent5a22b0445416dbf7d0a0ddd95d31c1f068e704b3 (diff)
downloadhercules-9d5309327da9543f86385549001df7e9a7c98833.tar.gz
hercules-9d5309327da9543f86385549001df7e9a7c98833.tar.bz2
hercules-9d5309327da9543f86385549001df7e9a7c98833.tar.xz
hercules-9d5309327da9543f86385549001df7e9a7c98833.zip
Added elemental interface
Diffstat (limited to 'src/map/chrif.c')
-rw-r--r--src/map/chrif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/chrif.c b/src/map/chrif.c
index 0fd14cd28..02e9e977c 100644
--- a/src/map/chrif.c
+++ b/src/map/chrif.c
@@ -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);