mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-02-22 20:01:14 +00:00
Noclip camera
It doesn't FEEL like it noclips, but...
This commit is contained in:
parent
16e1569af1
commit
aa4398f7b9
1 changed files with 7 additions and 1 deletions
|
@ -8136,7 +8136,13 @@ boolean P_MoveChaseCamera(player_t *player, camera_t *thiscam, boolean resetcall
|
||||||
subsector_t *newsubsec;
|
subsector_t *newsubsec;
|
||||||
fixed_t f1, f2;
|
fixed_t f1, f2;
|
||||||
|
|
||||||
cameranoclip = (player->pflags & (PF_NOCLIP|PF_NIGHTSMODE)) || (player->mo->flags & (MF_NOCLIP|MF_NOCLIPHEIGHT) || (leveltime < 3*TICRATE)); // Noclipping player camera noclips too!!
|
#if 1
|
||||||
|
cameranoclip = true; // We like camera noclip!
|
||||||
|
#else
|
||||||
|
cameranoclip = ((player->pflags & (PF_NOCLIP|PF_NIGHTSMODE))
|
||||||
|
|| (player->mo->flags & (MF_NOCLIP|MF_NOCLIPHEIGHT))
|
||||||
|
|| (leveltime < 3*TICRATE)); // Noclipping player camera noclips too!!
|
||||||
|
#endif
|
||||||
|
|
||||||
if (!(player->climbing || (player->pflags & PF_NIGHTSMODE) || player->playerstate == PST_DEAD))
|
if (!(player->climbing || (player->pflags & PF_NIGHTSMODE) || player->playerstate == PST_DEAD))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue