From 87a5c390724a5df7bcbc130d2c51affbbe23ff73 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Thu, 15 Nov 2012 02:25:34 +0000 Subject: Follow up r16926, fixed a horrid typo (wrong order; didn't notice the warning in the console T_T shame on me); special thanks to mkbu95 for pointing it out! git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16927 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/pc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/map/pc.c b/src/map/pc.c index 6b757d20c..5da11f4a4 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -3621,7 +3621,7 @@ int pc_paycash(struct map_session_data *sd, int price, int points) { char output[128]; int cash; - nullpo_retr(sd,-1); + nullpo_retr(-1,sd); points = cap_value(points,-MAX_ZENY,MAX_ZENY); //prevent command UB if( price < 0 || points < 0 ) @@ -3658,7 +3658,7 @@ int pc_paycash(struct map_session_data *sd, int price, int points) int pc_getcash(struct map_session_data *sd, int cash, int points) { char output[128]; - nullpo_retr(sd,-1); + nullpo_retr(-1,sd); cash = cap_value(cash,-MAX_ZENY,MAX_ZENY); //prevent command UB points = cap_value(points,-MAX_ZENY,MAX_ZENY); //prevent command UB -- cgit v1.2.3-60-g2f50