mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 10:52:46 +00:00
Clean up string spin-washing in the Vault API
This commit is contained in:
@ -789,11 +789,7 @@ PF_CONSOLE_CMD( Net_Vault,
|
||||
"string stationName, string mtSpawnPt",
|
||||
"Register an MT Station with your Nexus" )
|
||||
{
|
||||
wchar_t wName[MAX_PATH];
|
||||
wchar_t wObj[MAX_PATH];
|
||||
StrToUnicode(wName, params[0], arrsize(wName));
|
||||
StrToUnicode(wObj, params[1], arrsize(wObj));
|
||||
VaultRegisterMTStationAndWait ( wName, wObj );
|
||||
VaultRegisterMTStationAndWait((char*)params[0], (char*)params[1]);
|
||||
PrintString("Registered MT Station.");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user