OSDN Git Service

Cleanup
authorryan <>
Tue, 13 Dec 2016 22:46:04 +0000 (22:46 +0000)
committerryan <>
Tue, 13 Dec 2016 22:46:04 +0000 (22:46 +0000)
src/sbs/revolvingdoor.cpp

index 2259b28..45777e4 100644 (file)
@@ -76,8 +76,7 @@ RevolvingDoor::RevolvingDoor(Object *parent, DynamicMesh *wrapper, const std::st
        sbs->DrawWalls(true, true, true, true, true, true);
        sbs->GetTextureManager()->ResetTextureMapping(true);
 
-       Wall *wall;
-       wall = DoorMesh->CreateWallObject(name);
+       Wall *wall = DoorMesh->CreateWallObject(name);
 
        Segments = segments;
        width = width / 2;