diff --git a/docs/rh-log.txt b/docs/rh-log.txt index 8e40c6f3d..e2a214392 100644 --- a/docs/rh-log.txt +++ b/docs/rh-log.txt @@ -1,3 +1,7 @@ +October 26, 2008 (Changes by Graf Zahl) +- Fixed: A_Jump didn't properly determine a state's owner anymore when called + from weapons. + October 25, 2008 (Changes by Graf Zahl) - Added NULL checks to all places where class names are passed as DECORATE parameters. diff --git a/src/thingdef/thingdef_expression.cpp b/src/thingdef/thingdef_expression.cpp index e917f013a..44e10cba9 100644 --- a/src/thingdef/thingdef_expression.cpp +++ b/src/thingdef/thingdef_expression.cpp @@ -2599,7 +2599,7 @@ FxExpression *FxMultiNameState::Resolve(FCompileContext &ctx) CHECKRESOLVED(); if (names[0] == NAME_None) { - scope = NULL; + scope = ctx.cls; } else if (names[0] == NAME_Super) { @@ -2643,6 +2643,7 @@ FxExpression *FxMultiNameState::Resolve(FCompileContext &ctx) } names.Delete(0); names.ShrinkToFit(); + ValueType = VAL_State; return this; }