From df486c66bb39e4f32d5c22e06daf2c5619641d1a Mon Sep 17 00:00:00 2001 From: rpolzer Date: Mon, 10 Nov 2008 15:54:59 +0000 Subject: [PATCH] support "target2" etc. name keys for Q3A maps too git-svn-id: svn://svn.icculus.org/netradiant/trunk@127 61c419a2-8eb2-4b30-bcec-8cead039b335 --- plugins/entity/namekeys.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/entity/namekeys.h b/plugins/entity/namekeys.h index 20110c40..2dcfc94a 100644 --- a/plugins/entity/namekeys.h +++ b/plugins/entity/namekeys.h @@ -143,7 +143,8 @@ inline bool keyIsNameQuake3(const char* key) { return string_equal(key, "target") || string_equal(key, "targetname") - || string_equal(key, "killtarget"); + || string_equal(key, "killtarget") + || (string_equal_n(key, "target", 6) && string_is_integer(key + 6)); // Nexuiz } #endif -- 2.39.2