mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 06:53:40 +00:00
- Fixed: The three-argument version of AActor::FindState() initialized a
two-entry array for passing to the main FindState() routine, but did not actually pass it, passing the original primary label instead. SVN r1261 (trunk)
This commit is contained in:
parent
86e650207d
commit
8d4912f4af
3 changed files with 6 additions and 3 deletions
|
@ -1,4 +1,7 @@
|
|||
October 13, 2008
|
||||
- Fixed: The three-argument version of AActor::FindState() initialized a
|
||||
two-entry array for passing to the main FindState() routine, but did
|
||||
not actually pass it, passing the original primary label instead.
|
||||
- Fixed: SDL builds did not shutdown the sound system at exit.
|
||||
- Fixed: ThingCountSector and ThingCountNameSector did not remove enough
|
||||
entries from the stack, and did not put the result in the right slot.
|
||||
|
|
|
@ -793,8 +793,8 @@ public:
|
|||
|
||||
FState *FindState (FName label, FName sublabel, bool exact = false) const
|
||||
{
|
||||
FName names[]={label, sublabel};
|
||||
return GetClass()->ActorInfo->FindState(2, &label, exact);
|
||||
FName names[] = { label, sublabel };
|
||||
return GetClass()->ActorInfo->FindState(2, names, exact);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -851,4 +851,4 @@ CCMD(dumpstates)
|
|||
DumpStateHelper(info->StateList, "");
|
||||
Printf(PRINT_LOG, "----------------------------\n");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue