- MBF21: implemented new line flags.
While 'block players' was just a simple remap, 'block land monsters' required quite a bit of work... This also fixes the bug that BLOCK_FLOATERS was never checked for sliding against a wall.
This commit is contained in:
parent
057cc0678b
commit
c4ed0cefde
15 changed files with 65 additions and 35 deletions
|
|
@ -928,6 +928,12 @@ public:
|
|||
Flag(ld->flags, ML_BLOCK_FLOATERS, key);
|
||||
continue;
|
||||
|
||||
case NAME_Blocklandmonsters:
|
||||
// This is from MBF21 so it may later be needed for a lower level namespace.
|
||||
CHECK_N(St | Zd | Zdt | Va)
|
||||
Flag(ld->flags2, ML2_BLOCKLANDMONSTERS, key);
|
||||
continue;
|
||||
|
||||
case NAME_Translucent:
|
||||
CHECK_N(St | Zd | Zdt | Va)
|
||||
strifetrans = CheckBool(key);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue