summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 585dfec..7184707 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -102,3 +102,13 @@ BUILDIN(setCamNpc)
return 0;
}
+
+BUILDIN(restoreCam)
+{
+ TBL_PC *sd = script->rid2sd(st);
+ if (!sd)
+ return 1;
+
+ send_npccommand(sd, st->oid, 3);
+ return 0;
+}