X-Git-Url: http://git.tdb.fi/?p=libs%2Fdemoscene.git;a=blobdiff_plain;f=source%2Fstage.cpp;h=94782add256f16ddc7cd2ed5c06905ae3dd4fd54;hp=cbe576fa24ba566d2e33bcb2e04201c8c40be027;hb=7857d6ec5961f94bc926b1a969f2c841713f9650;hpb=6a05e385ed55b1b38825b07166698590df4d3634 diff --git a/source/stage.cpp b/source/stage.cpp index cbe576f..94782ad 100644 --- a/source/stage.cpp +++ b/source/stage.cpp @@ -43,16 +43,16 @@ void Stage::UseInView::start(float, float) Stage::UseInView::Loader::Loader(UseInView &u, Demo &d): DataFile::DerivedObjectLoader(u, d) { - add("view", &Loader::view); add("stage", &Loader::stage); + add("view", &Loader::view); } -void Stage::UseInView::Loader::view(const string &n) +void Stage::UseInView::Loader::stage(const string &n) { - obj.view = &demo.get_thing(n); + obj.stage = &demo.get_thing(n); } -void Stage::UseInView::Loader::stage(const string &n) +void Stage::UseInView::Loader::view(const string &n) { - obj.stage = &demo.get_thing(n); + obj.view = &demo.get_thing(n); }