mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-03-11 05:37:14 +00:00
Noclip camera
It doesn't FEEL like it noclips, but...
This commit is contained in:
parent
ceee74f7d6
commit
ce11d26d29
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;
|
||||
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))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue