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
#ifdef PC
ScrollText("MAX AMMO!", tempe);
#endif
#ifdef HANDHELD
nzp_maxammo();
#endif
#ifdef QUAKESPASM
#else
nzp_maxammo();
#endif
tempe = find(tempe, classname, "player");

View file

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

View file

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