summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgumi <mekolat@users.noreply.github.com>2017-03-05 14:17:31 -0500
committergumi <mekolat@users.noreply.github.com>2017-03-05 14:21:02 -0500
commit083c90c4497e7b5bd19fb5f2491255a3fbc9972c (patch)
tree0ca75ed407c123105e031b82ebb0bff6957a0091
parent50c79f0312c25de2c5b5e285f9f1635f8b74a4bb (diff)
downloadhercules-083c90c4497e7b5bd19fb5f2491255a3fbc9972c.tar.gz
hercules-083c90c4497e7b5bd19fb5f2491255a3fbc9972c.tar.bz2
hercules-083c90c4497e7b5bd19fb5f2491255a3fbc9972c.tar.xz
hercules-083c90c4497e7b5bd19fb5f2491255a3fbc9972c.zip
fix code style in buildin_addtimercount
-rw-r--r--src/map/script.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 43d1822f1..84d5ed98f 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -10839,14 +10839,15 @@ BUILDIN(addtimercount)
int tick;
struct map_session_data *sd;
- event=script_getstr(st, 2);
- tick=script_getnum(st,3);
+ event = script_getstr(st, 2);
+ tick = script_getnum(st, 3);
sd = script->rid2sd(st);
- if( sd == NULL )
+
+ if (sd == NULL)
return true;
script->check_event(st, event);
- pc->addeventtimercount(sd,event,tick);
+ pc->addeventtimercount(sd, event, tick);
return true;
}