mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 14:51:46 +00:00
- Fixed: A_Jump didn't properly determine a state's owner anymore when called
from weapons. SVN r1277 (trunk)
This commit is contained in:
parent
d753d41752
commit
226ca44939
2 changed files with 6 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue