From: rpolzer Date: Mon, 10 Nov 2008 15:54:59 +0000 (+0000) Subject: support "target2" etc. name keys for Q3A maps too X-Git-Tag: svn-r421~293 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=df486c66bb39e4f32d5c22e06daf2c5619641d1a;p=xonotic%2Fnetradiant.git support "target2" etc. name keys for Q3A maps too git-svn-id: svn://svn.icculus.org/netradiant/trunk@127 61c419a2-8eb2-4b30-bcec-8cead039b335 --- 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