mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-25 21:41:30 +00:00
Merge branch 'master' of https://github.com/rheit/zdoom
This commit is contained in:
commit
0d5386f923
3 changed files with 11 additions and 7 deletions
|
@ -486,6 +486,8 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
void Uncrouch()
|
void Uncrouch()
|
||||||
|
{
|
||||||
|
if (crouchfactor != FRACUNIT)
|
||||||
{
|
{
|
||||||
crouchfactor = FRACUNIT;
|
crouchfactor = FRACUNIT;
|
||||||
crouchoffset = 0;
|
crouchoffset = 0;
|
||||||
|
@ -494,6 +496,7 @@ public:
|
||||||
crouchviewdelta = 0;
|
crouchviewdelta = 0;
|
||||||
viewheight = mo->ViewHeight;
|
viewheight = mo->ViewHeight;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
bool CanCrouch() const
|
bool CanCrouch() const
|
||||||
{
|
{
|
||||||
|
|
|
@ -240,6 +240,7 @@ void level_info_t::Reset()
|
||||||
flags2 = 0;
|
flags2 = 0;
|
||||||
else
|
else
|
||||||
flags2 = LEVEL2_LAXMONSTERACTIVATION;
|
flags2 = LEVEL2_LAXMONSTERACTIVATION;
|
||||||
|
flags3 = 0;
|
||||||
Music = "";
|
Music = "";
|
||||||
LevelName = "";
|
LevelName = "";
|
||||||
FadeTable = "COLORMAP";
|
FadeTable = "COLORMAP";
|
||||||
|
|
|
@ -136,7 +136,7 @@ void cht_DoCheat (player_t *player, int cheat)
|
||||||
player->cheats &= ~CF_NOCLIP;
|
player->cheats &= ~CF_NOCLIP;
|
||||||
msg = GStrings("STSTR_NCOFF");
|
msg = GStrings("STSTR_NCOFF");
|
||||||
}
|
}
|
||||||
player->mo->velx = 1; // force some lateral movement so that internal variables are up to date
|
if (player->mo->velx == 0) player->mo->velx = 1; // force some lateral movement so that internal variables are up to date
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case CHT_NOVELOCITY:
|
case CHT_NOVELOCITY:
|
||||||
|
|
Loading…
Reference in a new issue