summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-08 19:37:56 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-08 19:37:56 +0000
commitbdc2958ced13d80122b040ab357fd002d5c0e550 (patch)
treed133c73651e4ac575964c91496ebe13ea631fc0a /src/map/unit.c
parent7a308b07b92f9aa82b0e3d8dc987d69f3535b7e2 (diff)
downloadhercules-bdc2958ced13d80122b040ab357fd002d5c0e550.tar.gz
hercules-bdc2958ced13d80122b040ab357fd002d5c0e550.tar.bz2
hercules-bdc2958ced13d80122b040ab357fd002d5c0e550.tar.xz
hercules-bdc2958ced13d80122b040ab357fd002d5c0e550.zip
- Unified the rest and ganstar paradise code into a single function.
- Moved the Happy State trigger to the regen function, it now triggers at the same time the SPTIME does. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8681 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index cfa7be2da..396eeca45 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -1596,8 +1596,7 @@ int unit_remove_map(struct block_list *bl, int clrtype) {
if(pc_issit(sd)) {
pc_setstand(sd);
- skill_gangsterparadise(sd,0);
- skill_rest(sd,0);
+ skill_sit(sd,0);
}
party_send_dot_remove(sd);//minimap dot fix [Kevin]
guild_send_dot_remove(sd);