Add latest change to 0.10 branch.

This commit is contained in:
Edvin Linge
2012-09-23 15:59:32 +00:00
parent 02013327d3
commit 7771573a56
2 changed files with 2 additions and 1 deletions

View File

@@ -280,5 +280,5 @@ function Machine:afterLoad(old, new)
})
end
end
return Entity.afterLoad(self, old, new)
return Object.afterLoad(self, old, new)
end

View File

@@ -561,6 +561,7 @@ function Object:afterLoad(old, new)
if old < 52 then
self.hospital = self.world:getLocalPlayerHospital()
end
return Entity.afterLoad(self, old, new)
end
local all_pathfind_dirs = {[0] = true, [1] = true, [2] = true, [3] = true}