OSDN Git Service

Fixes
authorryan <>
Fri, 18 Nov 2016 21:50:06 +0000 (21:50 +0000)
committerryan <>
Fri, 18 Nov 2016 21:50:06 +0000 (21:50 +0000)
src/frontend/script_floors.cpp
src/sbs/revolvingdoor.cpp

index a86b53f..dda846e 100644 (file)
@@ -2033,7 +2033,6 @@ int ScriptProcessor::FloorSection::Run(std::string &LineData)
 
                //check to see if file exists
                parent->CheckFile("data/" + tempdata[0]);
-               parent->CheckFile("data/" + tempdata[1]);
 
                //stop here if in Check mode
                if (config->CheckScript == true)
index 389f1a6..4a8bf2d 100644 (file)
@@ -80,6 +80,7 @@ RevolvingDoor::RevolvingDoor(Object *parent, DynamicMesh *wrapper, const std::st
        wall = DoorMesh->CreateWallObject(name);
 
        Segments = segments;
+       width = width / 2;
        if (Segments == 3)
        {
                sbs->GetTextureManager()->SetTextureFlip(1, 0, 0, 0, 0, 0); //flip texture on rear side of door