Changeset 5866


Ignore:
Timestamp:
04/13/17 09:02:07 (3 years ago)
Author:
Bluestone
Message:

fix .

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/BAR/ModelMaterials/3_features_wrecks.lua

    r5858 r5866  
    7474        Spring.PreloadFeatureDefModel(id) 
    7575        -- how to check if its a wreck or a heap? 
    76         if (not isTree) and featureDef.model.textures and featureDef.model.textures.tex1 and featureDef.modelpath:find("%.3ds") == nil then --its likely a proper feature 
     76        if (not isTree) and featureDef.model.textures and featureDef.model.textures.tex1 and featureDef.model.path:find("%.3ds") == nil then --its likely a proper feature 
    7777                if  featureDef.name:find("_dead") then  
    7878                        if featureDef.name == "cormaw_dead" or featureDef.name == "armclaw_dead" then  
Note: See TracChangeset for help on using the changeset viewer.