diff options
author | shennetsind <ind@henn.et> | 2013-10-30 19:39:40 -0200 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-10-30 19:39:40 -0200 |
commit | 4340bf74d5fa64d8205bc86a3d2c0592b7a542c7 (patch) | |
tree | 32ce19a100e51f91c6ee167d175176535688d78a /src/map/script.c | |
parent | 629c80479f0276882ae998f8cefa28a376621c9a (diff) | |
download | hercules-4340bf74d5fa64d8205bc86a3d2c0592b7a542c7.tar.gz hercules-4340bf74d5fa64d8205bc86a3d2c0592b7a542c7.tar.bz2 hercules-4340bf74d5fa64d8205bc86a3d2c0592b7a542c7.tar.xz hercules-4340bf74d5fa64d8205bc86a3d2c0592b7a542c7.zip |
Official Font Support
Fonts are now relog-persistent.
Font items are now toggle-on/off, they no longer go away on use, they go away when their rental duration is over (and the font effect goes back to original).
Special Thanks to Yommy for all the data!
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/script.c b/src/map/script.c index 2a83f3918..d51f27ce9 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -16229,10 +16229,10 @@ BUILDIN(setfont) if( sd == NULL ) return true; - if( sd->user_font != font ) - sd->user_font = font; + if( sd->status.font != font ) + sd->status.font = font; else - sd->user_font = 0; + sd->status.font = 0; clif->font(sd); return true; |