support "target2" etc. name keys for Q3A maps too
authorrpolzer <rpolzer@61c419a2-8eb2-4b30-bcec-8cead039b335>
Mon, 10 Nov 2008 15:54:59 +0000 (15:54 +0000)
committerrpolzer <rpolzer@61c419a2-8eb2-4b30-bcec-8cead039b335>
Mon, 10 Nov 2008 15:54:59 +0000 (15:54 +0000)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@127 61c419a2-8eb2-4b30-bcec-8cead039b335

plugins/entity/namekeys.h

index 20110c4..2dcfc94 100644 (file)
@@ -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