## ETPub PCR alpha hacks (etpub_pcr_ah) ## (C) 2006-2007 PatheticCockroach.com ## This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License ## Derivative works may only be done if they are distributed with their source code. ## ## The original etpub_pcr_ah source and binaries can be found around http://www.patheticcockroach.com/etserver/etpub_pcr.php ## ## Note : ETPub PCR alpha hacks are just small modifications for ETPub (http://www.etpub.org) Bugfix : godmoded players could get poisoned, they wouldn't take damage but their screen would shake until they kill themself. ------------------------- MODIFICATION STARTS HERE src\game\g_weapon.c (line 636) **** REPLACE } else if(g_poison.integer && traceEnt->client->sess.sessionTeam != ent->client->sess.sessionTeam && !traceEnt->client->pmext.poisoned && traceEnt->client->ps.powerups[PW_INVULNERABLE] < level.time && traceEnt->client->ps.pm_type != PM_DEAD) { **** WITH } else if(g_poison.integer && traceEnt->client->sess.sessionTeam != ent->client->sess.sessionTeam && !traceEnt->client->pmext.poisoned && traceEnt->client->ps.powerups[PW_INVULNERABLE] < level.time && traceEnt->client->ps.pm_type != PM_DEAD && !(traceEnt->flags & FL_GODMODE)) {