summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-22 21:26:17 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-22 21:26:17 +0000
commita751d2c64853018600bcc5491ec854cc7ddfb070 (patch)
treed5ae1eae8d6411bd4df4455304bb2bae87ddccd6 /src/map/script.c
parent6afc32ebbda2dd1edd6085662baaf61c96af6455 (diff)
downloadhercules-a751d2c64853018600bcc5491ec854cc7ddfb070.tar.gz
hercules-a751d2c64853018600bcc5491ec854cc7ddfb070.tar.bz2
hercules-a751d2c64853018600bcc5491ec854cc7ddfb070.tar.xz
hercules-a751d2c64853018600bcc5491ec854cc7ddfb070.zip
- Fixed a crash on the mobspawn script command.
- Made SC_FLEET increase batk as well as watk. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8444 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 8408e8546..cf101f156 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -11787,7 +11787,7 @@ int buildin_mobspawn(struct script_state *st){
x =conv_num(st,& (st->stack->stack_data[st->start+5]));
y =conv_num(st,& (st->stack->stack_data[st->start+6]));
- id = mob_once_spawn(map_id2sd(st->rid),map,x,y,str,class_,1,NULL);
+ id = mob_once_spawn(map_id2sd(st->rid),map,x,y,str,class_,1,"");
push_val(st->stack,C_INT,id);
return 0;