From 244f68ca1df53201fd1ddd4d6beaf17b0e13c0e0 Mon Sep 17 00:00:00 2001 From: skotlex Date: Thu, 7 Sep 2006 13:39:49 +0000 Subject: - 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 --- src/map/pc.c | 6 ++++-- src/plugins/sig.c | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'src') 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; } -- cgit v1.2.3-70-g09d2