Created
January 8, 2015 19:37
-
-
Save XMPPwocky/a928a720238b47ca04de to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fn is_valid_target(&self, ent: sdk::raw::C_BaseEntityPtr) -> bool { | |
let class = ent.get_classname(); | |
class == obf!("CTFProjectile_Rocket") || | |
class == obf!("CTFProjectile_Flare") || | |
class == obf!("CTFProjectiled_EnergyBall") || | |
class == obf!("CTFProjectile_HealingBolt") || | |
class == obf!("CTFProjectile_Arrow") || | |
class == obf!("CTFProjectile_SentryRocket") || | |
class == obf!("CTFProjectile_Cleaver" ) || | |
class == obf!("CTFProjectile_JarMilk" ) || | |
class == obf!("CTFProjectile_Jar" ) || | |
class == obf!("CTFStunBall" ) || | |
class == obf!("CTFGrenadePipebombProjectile" ) || | |
class == obf!("CTFBall_Ornament") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment