Indeed, looks like an easy fix. Yet, this is not for a mod-- this is for
existing CS:S and HL2DM development. We would need it fixed by Valve in the way
you recommend (or however they deem fit).

Thanks,
-Mattie

----- Original Message -----
From: "Aaron Schiff" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Sunday, April 23, 2006 9:02 PM
Subject: Re: [hlcoders] ent_setname bug - Can Valve fix?


--
[ Picked text/plain from multipart/alternative ]
If you're a coder, it's a simple fix...anyway, it's a modside fix:
   if (  (ent->GetEntityName() != NULL_STRING &&
FStrEq(engine->Cmd_Argv(1), STRING(ent->GetEntityName()))) ||
      (ent->m_iClassname != NULL_STRING && FStrEq(engine->Cmd_Argv(1),
STRING(ent->m_iClassname))) ||
      (ent->GetClassname()!=NULL && FStrEq(engine->Cmd_Argv(1),
ent->GetClassname())))
Change the 1s to 2s & instead of doing ent_setname oldname newname, you can
do ent_setname newname oldname...which was initially how it was intended to
be implemented:

Arguments: {new entity name} {entity_name} / {class_name}

--
ts2do
--

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders





_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to