## ETPub PCR alpha hacks (etpub_pcr_ah) ## (C) 2006-2007 PatheticCockroach.com ## This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 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) The XP penalty for destroying a friendly obj crashes the server with ludendorff's dynamite crates. The following code has also been updated in rev 45. src\game\g_mover.c (line 4595) **** REPLACE if((G_GetTeamFromEntity( self ) == G_GetTeamFromEntity( inflictor )) && (g_friendlyPlant.integer & FRIENDLYPLANT_PENALTY)) { **** WITH if( (g_friendlyPlant.integer & FRIENDLYPLANT_PENALTY) && self && inflictor && (G_GetTeamFromEntity( self ) == G_GetTeamFromEntity( inflictor )) ) {