MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / freeUserStrings

Function freeUserStrings

src/OpenLoco/src/Entities/EntityManager.cpp:98–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96 }
97
98 void freeUserStrings()
99 {
100 for (auto& entity : rawEntities())
101 {
102 if (entity.baseType == EntityBaseType::null)
103 {
104 continue;
105 }
106
107 StringManager::emptyUserString(entity.name);
108 }
109 }
110
111 EntityId firstId(EntityListType list)
112 {

Callers 1

importSaveToGameStateFunction · 0.85

Calls 1

emptyUserStringFunction · 0.85

Tested by

no test coverage detected