mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-14 02:27:40 -04:00
Alright, this _TEMP_CONVERT_ stuff was a stupid idea
This commit is contained in:
@ -173,7 +173,7 @@ PF_CONSOLE_CMD( Avatar_Spawn, Show, "", "Print a list of spawn points.")
|
||||
const plSpawnModifier * spawn = mgr->GetSpawnPoint(i);
|
||||
if(spawn)
|
||||
{
|
||||
plString soName = _TEMP_CONVERT_FROM_LITERAL("(none)");
|
||||
plString soName = "(none)";
|
||||
|
||||
if (spawn->GetNumTargets() > 0)
|
||||
{
|
||||
|
@ -6980,7 +6980,7 @@ PF_CONSOLE_CMD( Python,
|
||||
args = plString::Format("(%s,)", tmp);
|
||||
}
|
||||
else
|
||||
args = _TEMP_CONVERT_FROM_LITERAL("()");
|
||||
args = "()";
|
||||
|
||||
PythonInterface::RunFunctionSafe("xCheat", params[0], args.c_str());
|
||||
|
||||
|
@ -231,12 +231,12 @@ PF_CONSOLE_CMD( Net, // groupName
|
||||
{
|
||||
// send chat text
|
||||
plString text=plNetClientMgr::GetInstance()->GetPlayerName();
|
||||
text += _TEMP_CONVERT_FROM_LITERAL(":");
|
||||
text += ":";
|
||||
int i;
|
||||
for(i=0;i<numParams;i++)
|
||||
{
|
||||
text += plString::FromUtf8( (char*)params[i] );
|
||||
text += _TEMP_CONVERT_FROM_LITERAL(" ");
|
||||
text += " ";
|
||||
}
|
||||
plConsoleMsg *cMsg = new plConsoleMsg( plConsoleMsg::kAddLine, text.c_str() );
|
||||
cMsg->SetBCastFlag(plMessage::kNetPropagate | plMessage::kNetForce);
|
||||
|
Reference in New Issue
Block a user