- Added setactivation command for compatibility.cpp to fix the gear boxes on hexdd.wad, map54,
which should be set for player uses activation but are not. - Added some developer mode messages for setlinespecial and clearlinespecial. SVN r3437 (trunk)
This commit is contained in:
parent
ba2e8b2461
commit
6290ea4fcb
3 changed files with 35 additions and 2 deletions
|
|
@ -5293,8 +5293,11 @@ int DLevelScript::RunScript ()
|
|||
break;
|
||||
|
||||
case PCD_CLEARLINESPECIAL:
|
||||
if (activationline)
|
||||
if (activationline != NULL)
|
||||
{
|
||||
activationline->special = 0;
|
||||
DPrintf("Cleared line special on line %d\n", activationline - lines);
|
||||
}
|
||||
break;
|
||||
|
||||
case PCD_CASEGOTO:
|
||||
|
|
@ -5931,6 +5934,8 @@ int DLevelScript::RunScript ()
|
|||
line->args[2] = STACK(3);
|
||||
line->args[3] = STACK(2);
|
||||
line->args[4] = STACK(1);
|
||||
DPrintf("Set special on line %d (id %d) to %d(%d,%d,%d,%d,%d)\n",
|
||||
linenum, STACK(7), specnum, arg0, STACK(4), STACK(3), STACK(2), STACK(1));
|
||||
}
|
||||
sp -= 7;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue