From 06b6cea62ec8c413389c7d9543e2c0eb587d527a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20J=2E=20Est=C3=A9banez?= Date: Sun, 25 Nov 2018 12:38:12 +0100 Subject: Fix crash on signal/resume to dangling target --- modules/gdscript/gdscript_function.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'modules/gdscript/gdscript_function.h') diff --git a/modules/gdscript/gdscript_function.h b/modules/gdscript/gdscript_function.h index bfb6d673f1..5509edf24a 100644 --- a/modules/gdscript/gdscript_function.h +++ b/modules/gdscript/gdscript_function.h @@ -272,15 +272,13 @@ private: public: struct CallState { - ObjectID instance_id; //by debug only - ObjectID script_id; - + ObjectID instance_id; GDScriptInstance *instance; Vector stack; int stack_size; Variant self; uint32_t alloca_size; - GDScript *_class; + Ref script; int ip; int line; int defarg; -- cgit v1.2.3