diff options
author | Colin Snover | 2017-05-20 19:50:56 -0500 |
---|---|---|
committer | Colin Snover | 2017-05-20 21:14:18 -0500 |
commit | 881be25fcd82d765235e95ebf041a70ec1ae5ae5 (patch) | |
tree | 23adf16b40a0d539b8ff54b2119cc5f52ea760bb /engines/tsage/user_interface.cpp | |
parent | 66efb750a0ccaa3c2ff8b77f60544a345328da8b (diff) | |
download | scummvm-rg350-881be25fcd82d765235e95ebf041a70ec1ae5ae5.tar.gz scummvm-rg350-881be25fcd82d765235e95ebf041a70ec1ae5ae5.tar.bz2 scummvm-rg350-881be25fcd82d765235e95ebf041a70ec1ae5ae5.zip |
SCI: Stop making copies of ObjMap and remove related dead code
ObjMap owns Objects, so every time this map gets copied instead of
referenced, it creates a copy of every single object in the
associated script. This is expensive, and it breaks things like
the `Object::syncBaseObject` call in savegame.cpp, which hasn't
actually been doing anything since
58190c36b4cc84b3200239211d91b0291301db56 because it has been
operating on copies.
Diffstat (limited to 'engines/tsage/user_interface.cpp')
0 files changed, 0 insertions, 0 deletions