2
3
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:
2012-11-13 01:02:23 -08:00
parent 075c535e2c
commit b219c3c3cc
97 changed files with 314 additions and 466 deletions

View File

@ -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)
{

View File

@ -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());

View File

@ -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);