From 85514605778a37d630c865bb860f14cf51e5d9d9 Mon Sep 17 00:00:00 2001 From: Simon Date: Fri, 30 Jun 2023 20:26:30 +0100 Subject: [PATCH] Let the saber cut through sand people like butter --- Projects/Android/jni/OpenJK/code/game/wp_saber.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Projects/Android/jni/OpenJK/code/game/wp_saber.cpp b/Projects/Android/jni/OpenJK/code/game/wp_saber.cpp index a2fdc6f..0be178f 100644 --- a/Projects/Android/jni/OpenJK/code/game/wp_saber.cpp +++ b/Projects/Android/jni/OpenJK/code/game/wp_saber.cpp @@ -2326,6 +2326,12 @@ qboolean WP_SaberDamageEffects( trace_t *tr, const vec3_t start, float length, f //make sure the base damage is high against non-jedi, feels better doDmg = 10; } + + // Let the saber cut through sand people like butter... + if ( hitEnt->client && hitEnt->client->NPC_class==CLASS_TUSKEN ) + { + doDmg = 10; + } } } if ( !hitEntDmgAdd[i] && !hitEntDmgSub[i] )