diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-06-03 14:43:34 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-06-03 14:43:34 +0000 |
commit | 89d430b2c4d770d7d5c073710a21bd24df5f3f0c (patch) | |
tree | e5f93768098ffc862b279316dc20c78d7c96835d /src/map/script.c | |
parent | 85db2023cb033928a190ac7fa6f05b5d6cbad14a (diff) | |
download | hercules-89d430b2c4d770d7d5c073710a21bd24df5f3f0c.tar.gz hercules-89d430b2c4d770d7d5c073710a21bd24df5f3f0c.tar.bz2 hercules-89d430b2c4d770d7d5c073710a21bd24df5f3f0c.tar.xz hercules-89d430b2c4d770d7d5c073710a21bd24df5f3f0c.zip |
- Fixed missing client update when 'return to savepoint' fails
- Fixed a bad copy-paste from r10028 letting players escape jail (char was dead on login, so statuses (SC_JAILED) couln't be applied)
- Added clif_standing() to clif_sitting(), and used them in clif.c
- Cleaned up clif.c a bit - clif_clearchar->clif_clearunit_area, clif_clearchar_id->clif_clearunit_single
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10668 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c index f97fbc869..2194ae1a6 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -3003,7 +3003,7 @@ void run_script_main(struct script_state *st) if (sd) { //Restore previous stack and save char. if(sd->state.using_fake_npc){ - clif_clearchar_id(sd->npc_id, 0, sd->fd); + clif_clearunit_single(sd->npc_id, 0, sd->fd); sd->state.using_fake_npc = 0; } //Restore previous script if any. |