Merge pull request #35 from ScatterBox/main

This commit is contained in:
Ian 2023-01-24 16:44:37 -05:00 committed by GitHub
commit eab8eaa87c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 33 deletions

View File

@ -417,11 +417,7 @@ void() PU_MaxAmmo =
// MAX AMMO! text // MAX AMMO! text
#ifdef PC #ifdef PC
ScrollText("MAX AMMO!", tempe); ScrollText("MAX AMMO!", tempe);
#endif #else
#ifdef HANDHELD
nzp_maxammo();
#endif
#ifdef QUAKESPASM
nzp_maxammo(); nzp_maxammo();
#endif #endif
tempe = find(tempe, classname, "player"); tempe = find(tempe, classname, "player");

View File

@ -158,42 +158,27 @@ void() W_FireRay =
// Prepare trail effects. // Prepare trail effects.
if (IsPapWeapon(porter.weapon)) { if (IsPapWeapon(porter.weapon)) {
#ifdef HANDHELD
porter.effects = EF_RAYRED;
#endif // HANDHELD
#ifdef QUAKESPASM
porter.effects = EF_RED;
#endif // QUAKESPASM
#ifdef PC #ifdef PC
Light_Custom(porter, false, 75, 2, 0.25, 0.25); Light_Custom(porter, false, 75, 2, 0.25, 0.25);
#else
porter.effects = EF_RAYRED;
#endif // PC #endif // PC
} else { } else {
#ifdef HANDHELD
porter.effects = EF_RAYGREEN;
#endif // HANDHELD
#ifdef QUAKESPASM
porter.effects = EF_GREEN;
#endif // QUAKESPASM
#ifdef PC #ifdef PC
Light_Custom(porter, false, 75, 0.25, 2, 0.25); Light_Custom(porter, false, 75, 0.25, 2, 0.25);
#else
porter.effects = EF_RAYGREEN;
#endif // PC #endif // PC
} }

View File

@ -68,15 +68,15 @@ void() W_AimIn =
self.weapon == W_HEADCRACKER || self.weapon == W_PENETRATOR) { self.weapon == W_HEADCRACKER || self.weapon == W_PENETRATOR) {
SetUpdate(self, UT_ZOOM2, 0, 0, 0); SetUpdate(self, UT_ZOOM2, 0, 0, 0);
#ifdef QUAKESPASM //#ifdef QUAKESPASM
self.zoom = 1; //self.zoom = 1;
#else //#else
self.zoom = 2; self.zoom = 2;
#endif // QUAKESPASM //#endif // QUAKESPASM
self.scopetime = time + 0.3; self.scopetime = time + 0.3;
} else { } else {