Merge branch 'master' into scripting
Conflicts: src/thingdef/thingdef_codeptr.cpp
This commit is contained in:
commit
36974431ba
11 changed files with 6363 additions and 6285 deletions
|
|
@ -149,7 +149,8 @@ void cht_DoCheat (player_t *player, int cheat)
|
|||
case CHT_FLY:
|
||||
if (player->mo != NULL)
|
||||
{
|
||||
if ((player->mo->flags7 ^= MF7_FLYCHEAT) != 0)
|
||||
player->mo->flags7 ^= MF7_FLYCHEAT;
|
||||
if (player->mo->flags7 & MF7_FLYCHEAT)
|
||||
{
|
||||
player->mo->flags |= MF_NOGRAVITY;
|
||||
player->mo->flags2 |= MF2_FLY;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue