summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-03-11 11:21:27 -0600
committerJared Adams <jaxad0127@gmail.com>2009-03-11 11:21:27 -0600
commit942dfed655b9e59a20e93e28bb41fe779516bc86 (patch)
tree53e6feaaac186507021dc6fa5422f40817a3e794 /src/map/script.c
parentbdc081d262eeb2adb3f3352026be431b846e48b1 (diff)
downloadtmwa-942dfed655b9e59a20e93e28bb41fe779516bc86.tar.gz
tmwa-942dfed655b9e59a20e93e28bb41fe779516bc86.tar.bz2
tmwa-942dfed655b9e59a20e93e28bb41fe779516bc86.tar.xz
tmwa-942dfed655b9e59a20e93e28bb41fe779516bc86.zip
FIx a bug dealing with storage and scripting
Also remove some depug printing statements that were accidentally commited
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/script.c b/src/map/script.c
index ae7bd8f..a51f65f 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -3522,6 +3522,7 @@ int buildin_gettimestr(struct script_state *st)
*/
int buildin_openstorage(struct script_state *st)
{
+ st->state=STOP;
storage_storageopen(script_rid2sd(st));
return 0;
}