diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-09-07 13:39:49 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-09-07 13:39:49 +0000 |
commit | 244f68ca1df53201fd1ddd4d6beaf17b0e13c0e0 (patch) | |
tree | c188e5e2940d36d72ae8db9ae2c85e6fec02eb30 | |
parent | d7c7784e6328f5467b049e13d4bedaeaef57f495 (diff) | |
download | hercules-244f68ca1df53201fd1ddd4d6beaf17b0e13c0e0.tar.gz hercules-244f68ca1df53201fd1ddd4d6beaf17b0e13c0e0.tar.bz2 hercules-244f68ca1df53201fd1ddd4d6beaf17b0e13c0e0.tar.xz hercules-244f68ca1df53201fd1ddd4d6beaf17b0e13c0e0.zip |
- Added error message when attempting to use deprecated bonus bAspd.
- Added missing line terminator on a pair of ShowErrors in the sig plugin.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8660 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r-- | src/map/pc.c | 6 | ||||
-rw-r--r-- | src/plugins/sig.c | 4 |
2 files changed, 6 insertions, 4 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index af0603086..26afaf835 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -1450,8 +1450,10 @@ int pc_bonus(struct map_session_data *sd,int type,int val) sd->speed_add_rate = sd->speed_add_rate * (100-val)/100; break; case SP_ASPD: //Raw increase - if(sd->state.lr_flag != 2) - status->amotion -= val*10; +// if(sd->state.lr_flag != 2) +// status->amotion -= val*10; + if (battle_config.error_log) + ShowError("pc_bonus: bonus bAspd is no longer supported!\n"); break; case SP_ASPD_RATE: //Non stackable increase if(sd->state.lr_flag != 2 && status->aspd_rate > 1000-val*10) diff --git a/src/plugins/sig.c b/src/plugins/sig.c index 6f41bfdc2..7ddfaf2dc 100644 --- a/src/plugins/sig.c +++ b/src/plugins/sig.c @@ -27,13 +27,13 @@ PLUGIN_EVENTS_TABLE = { #if defined(_WIN32) || defined(MINGW)
int sig_init() {
- ShowError("sig: This plugin is not supported - Enable 'exchndl' instead!");
+ ShowError("sig: This plugin is not supported - Enable 'exchndl' instead!\n");
return 0;
}
int sig_final() { return 0; }
#elif defined (__NETBSD__) || defined (__FREEBSD__)
int sig_init() {
- ShowError("sig: This plugin is not supported!");
+ ShowError("sig: This plugin is not supported!\n");
return 0;
}
int sig_final() { return 0; }
|