|
@@ -217,12 +217,14 @@ int main(int argc, char** argv)
|
|
|
// Show used instruction sets
|
|
|
Trace(GetConfigurationString());
|
|
|
|
|
|
+ // If no scene was specified use the default scene
|
|
|
+ if (scene == nullptr)
|
|
|
+ scene = create_ragdoll_scene();
|
|
|
+
|
|
|
// Output scene we're running
|
|
|
Trace("Running scene: %s", scene->GetName());
|
|
|
|
|
|
// Load the scene
|
|
|
- if (scene == nullptr)
|
|
|
- scene = create_ragdoll_scene();
|
|
|
if (!scene->Load())
|
|
|
return 1;
|
|
|
|