- Changed G_ChangeLevel()'s parameter list to match the ACS version's.
- Added resethealth to complement resetinventory. SVN r2377 (trunk)
This commit is contained in:
parent
1bbae4a8f2
commit
34d8212d64
9 changed files with 47 additions and 39 deletions
|
|
@ -6250,12 +6250,7 @@ int DLevelScript::RunScript ()
|
|||
|
||||
case PCD_CHANGELEVEL:
|
||||
{
|
||||
int flags = STACK(2);
|
||||
G_ChangeLevel(FBehavior::StaticLookupString(STACK(4)), STACK(3),
|
||||
!!(flags & CHANGELEVEL_KEEPFACING), STACK(1),
|
||||
!!(flags & CHANGELEVEL_NOINTERMISSION),
|
||||
!!(flags & CHANGELEVEL_RESETINVENTORY),
|
||||
!!(flags & CHANGELEVEL_NOMONSTERS));
|
||||
G_ChangeLevel(FBehavior::StaticLookupString(STACK(4)), STACK(3), STACK(2), STACK(1));
|
||||
sp -= 4;
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue