mirror of
https://github.com/edubart/otclient.git
synced 2025-11-30 07:26:49 +01:00
fix outfit glitches, init combobox, move shaders, remove unused particles files, create timer utility
This commit is contained in:
@@ -55,3 +55,17 @@ function resolveFileFullPath(filePath, depth)
|
||||
return filePath
|
||||
end
|
||||
end
|
||||
|
||||
function extends(base)
|
||||
local derived = {}
|
||||
function derived.internalCreate()
|
||||
local instance = base.create()
|
||||
for k,v in pairs(derived) do
|
||||
instance[k] = v
|
||||
end
|
||||
return instance
|
||||
end
|
||||
derived.create = derived.internalCreate
|
||||
return derived
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user