From f4d9ab0854d5a4078f8ffcf748f5a2465409b0c4 Mon Sep 17 00:00:00 2001 From: Simon Date: Mon, 10 Jul 2023 19:59:05 +0100 Subject: [PATCH] Let Noghri also be sliced up easily --- Projects/Android/jni/OpenJK/code/game/wp_saber.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Projects/Android/jni/OpenJK/code/game/wp_saber.cpp b/Projects/Android/jni/OpenJK/code/game/wp_saber.cpp index 0be178f..1f948e1 100644 --- a/Projects/Android/jni/OpenJK/code/game/wp_saber.cpp +++ b/Projects/Android/jni/OpenJK/code/game/wp_saber.cpp @@ -2327,8 +2327,10 @@ qboolean WP_SaberDamageEffects( trace_t *tr, const vec3_t start, float length, f doDmg = 10; } - // Let the saber cut through sand people like butter... - if ( hitEnt->client && hitEnt->client->NPC_class==CLASS_TUSKEN ) + // Let the saber cut through sand people and Noghri like butter... + if ( hitEnt->client && ( + hitEnt->client->NPC_class==CLASS_TUSKEN || + hitEnt->client->NPC_class==CLASS_NOGHRI)) { doDmg = 10; }