Ticket #2000: disable_jit_as_OOS_workaround_v1.0.diff

File disable_jit_as_OOS_workaround_v1.0.diff, 722 bytes (added by Yves, 10 years ago)

work around the OOS problem by disabling JIT compiling for a problematic function/loop

  • binaries/data/mods/public/simulation/ai/common-api-v3/entitycollection.js

     
    193193};
    194194EntityCollection.prototype.moveIndiv = function(x, z, queued)
    195195{
     196    try {} finally {}
    196197    queued = queued || false;
    197198    for (var id in this._entities)
     199    {
     200        try {} finally {}
    198201        Engine.PostCommand({"type": "walk", "entities": [this._entities[id].id()], "x": x, "z": z, "queued": queued});
     202    }
    199203    return this;
    200204};
    201205EntityCollection.prototype.destroy = function()