diff options
author | brianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-01-30 16:02:55 +0000 |
---|---|---|
committer | brianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-01-30 16:02:55 +0000 |
commit | f17c3bc02c9e82147fb471132940e84d227ec4bc (patch) | |
tree | c7623d4aefa26cb8ae461b63c1efed99d8c99adf /src/map/npc.c | |
parent | fa2020be43ddc026460896a3bb8b1d0f425265b2 (diff) | |
download | hercules-f17c3bc02c9e82147fb471132940e84d227ec4bc.tar.gz hercules-f17c3bc02c9e82147fb471132940e84d227ec4bc.tar.bz2 hercules-f17c3bc02c9e82147fb471132940e84d227ec4bc.tar.xz hercules-f17c3bc02c9e82147fb471132940e84d227ec4bc.zip |
- Removed trailing tabs, and fixed some spacing.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15524 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/npc.c')
-rw-r--r-- | src/map/npc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/npc.c b/src/map/npc.c index 3859d8c68..7802ac1f9 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -511,7 +511,7 @@ int npc_timerevent(int tid, unsigned int tick, int id, intptr_t data) } // These stuffs might need to be restored. - old_rid = nd->u.scr.rid; + old_rid = nd->u.scr.rid; old_tick = nd->u.scr.timertick; old_timer = nd->u.scr.timer; @@ -524,7 +524,7 @@ int npc_timerevent(int tid, unsigned int tick, int id, intptr_t data) te = nd->u.scr.timer_event + ted->next; // Arrange for the next event - ted->next++; + ted->next++; if( nd->u.scr.timeramount > ted->next ) { next = nd->u.scr.timer_event[ ted->next ].timer - nd->u.scr.timer_event[ ted->next - 1 ].timer; @@ -547,7 +547,7 @@ int npc_timerevent(int tid, unsigned int tick, int id, intptr_t data) } // Run the script - run_script(nd->u.scr.script,te->pos,nd->u.scr.rid,nd->bl.id); + run_script(nd->u.scr.script,te->pos,nd->u.scr.rid,nd->bl.id); nd->u.scr.rid = old_rid; // Attached-rid should be restored anyway. if( sd ) |