Merge commit 'fb9231a38d' into scripting
Conflicts: src/info.cpp src/thingdef/thingdef_expression.cpp wadsrc/static/actors/constants.txt (Scripting branch update part 2)
This commit is contained in:
commit
d6e3fc0567
76 changed files with 562 additions and 312 deletions
|
|
@ -149,8 +149,7 @@ void cht_DoCheat (player_t *player, int cheat)
|
|||
case CHT_FLY:
|
||||
if (player->mo != NULL)
|
||||
{
|
||||
player->cheats ^= CF_FLY;
|
||||
if (player->cheats & CF_FLY)
|
||||
if ((player->mo->flags7 ^= MF7_FLYCHEAT) != 0)
|
||||
{
|
||||
player->mo->flags |= MF_NOGRAVITY;
|
||||
player->mo->flags2 |= MF2_FLY;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue