diff options
author | (no author) <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-02-11 15:58:58 +0000 |
---|---|---|
committer | (no author) <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-02-11 15:58:58 +0000 |
commit | 94661807ec510d48ca6dd135f0e02a3a835bc614 (patch) | |
tree | fae3295a165e320a8d65fd6e0eb8430212099dc7 /src/map/clif.c | |
parent | 77cac05d9b256039f7b2b5b00f901ad76fddfe86 (diff) | |
download | hercules-94661807ec510d48ca6dd135f0e02a3a835bc614.tar.gz hercules-94661807ec510d48ca6dd135f0e02a3a835bc614.tar.bz2 hercules-94661807ec510d48ca6dd135f0e02a3a835bc614.tar.xz hercules-94661807ec510d48ca6dd135f0e02a3a835bc614.zip |
* Moved all changes in the SVN to a new SVN-Changelog.txt
* Synchronise storage as well when saving character
* Added fix for super novices' Guardian Angel system crashing
* Check if login server is online before setting character to online (in SQL)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1076 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 678a3f716..1d4a7a437 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -7955,7 +7955,7 @@ void clif_parse_GlobalMessage(int fd, struct map_session_data *sd) { // S 008c < // Celest if (pc_calc_base_job2 (sd->status.class_) == 23 ) { int next = pc_nextbaseexp(sd)>0 ? pc_nextbaseexp(sd) : sd->status.base_exp; - if ((sd->status.base_exp*100/next)%10 == 0) { + if (next > 0 && (sd->status.base_exp*100/next)%10 == 0) { estr_lower((char*)RFIFOP(fd,4)); if (sd->state.snovice_flag == 0 && strstr((char*)RFIFOP(fd,4), msg_txt(540))) sd->state.snovice_flag = 1; |