Blind code edits to make it work. Seems to be good.

This commit is contained in:
MetricExpansion 2020-11-04 22:42:21 -08:00
parent 413412e262
commit ea1a662bce
4 changed files with 81 additions and 16 deletions

View file

@ -623,7 +623,7 @@
service.setOutfitUsingLocation(type);
}
void SetLocationOutfit(VMClassRegistry* registry, UInt32 stackId, StaticFunctionTag*, UInt32 location, BSFixedString name) {
if (strcmp(name.data, "")) {
if (strcmp(name.data, "") == 0) {
// Location outfit assignment is never allowed to be empty string. Use unset instead.
return;
}