mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-01-13 11:11:15 +00:00
Fixes
This commit is contained in:
parent
9e42ee1236
commit
af642ff021
@ -47,7 +47,7 @@ bool SiLoader::StartWith(StreamObject p_object)
|
||||
|
||||
bool SiLoader::RemoveWith(StreamObject p_object, LegoWorld* world)
|
||||
{
|
||||
for (auto& key : startWith) {
|
||||
for (auto& key : removeWith) {
|
||||
if (key.first == p_object) {
|
||||
RemoveFromWorld(key.second.first, key.second.second, world->GetAtomId(), world->GetEntityId());
|
||||
}
|
||||
@ -106,10 +106,5 @@ bool SiLoader::LoadFile(const char* p_file)
|
||||
}
|
||||
}
|
||||
|
||||
const auto& x = startWith;
|
||||
const auto& y = removeWith;
|
||||
|
||||
assert(false);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user