summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authortoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-31 09:13:19 +0000
committertoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-31 09:13:19 +0000
commitf4e6b07bfcbaaf93f15e606ce1a64acf50d14c1b (patch)
treeb5e75c1b7e18e29538c997034d745899578b2fe2 /src/map
parent8e59302b1c167d522a8cbc7c12d794f1534f98ad (diff)
downloadhercules-f4e6b07bfcbaaf93f15e606ce1a64acf50d14c1b.tar.gz
hercules-f4e6b07bfcbaaf93f15e606ce1a64acf50d14c1b.tar.bz2
hercules-f4e6b07bfcbaaf93f15e606ce1a64acf50d14c1b.tar.xz
hercules-f4e6b07bfcbaaf93f15e606ce1a64acf50d14c1b.zip
Fixed segmentation fault in status_change_end, vd wasn't initialized
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7995 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/status.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 58aae14ac..c32b4602c 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -5682,6 +5682,7 @@ int status_change_end( struct block_list* bl , int type,int tid )
sc->data[type].timer=-1;
(sc->count)--;
+ vd = status_get_viewdata(bl);
calc_flag = StatusChangeFlagTable[type];
switch(type){
case SC_WEDDING: