refactor: nuke all widestrings and widechars everywhere
This commit is contained in:
1 parent
f1f1d116b3
commit
2912e9ae2e
1323 files changed
+23207
-23399
No files matched your search
+5
-5
@@ -45,9 +45,9 @@ GameRuleDefinition* XboxStructureActionPlaceContainer::addChild(
|
||||
m_items.push_back((AddItemRuleDefinition*)rule);
|
||||
} else {
|
||||
#ifndef _CONTENT_PACKAGE
|
||||
wprintf(
|
||||
L"XboxStructureActionPlaceContainer: Attempted to add invalid "
|
||||
L"child rule - %d\n",
|
||||
printf(
|
||||
"XboxStructureActionPlaceContainer: Attempted to add invalid "
|
||||
"child rule - %d\n",
|
||||
ruleType);
|
||||
#endif
|
||||
}
|
||||
@@ -55,8 +55,8 @@ GameRuleDefinition* XboxStructureActionPlaceContainer::addChild(
|
||||
}
|
||||
|
||||
void XboxStructureActionPlaceContainer::addAttribute(
|
||||
const std::wstring& attributeName, const std::wstring& attributeValue) {
|
||||
if (attributeName.compare(L"facing") == 0) {
|
||||
const std::string& attributeName, const std::string& attributeValue) {
|
||||
if (attributeName.compare("facing") == 0) {
|
||||
int value = fromWString<int>(attributeValue);
|
||||
m_data = value;
|
||||
app.DebugPrintf(
|
||||
|
||||
Reference in new issue
Block a user