]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/part.cpp
Reorder class members
[libs/gltk.git] / source / part.cpp
index 1d965385e1372d2b3da5e765fac3e26351d4dc8c..f5e4b79ef5c36a674f329fd9ca3dbc9a575c5e1c 100644 (file)
@@ -1,3 +1,10 @@
+/* $Id$
+
+This file is part of libmspgltk
+Copyright © 2007  Mikko Rasa, Mikkosoft Productions
+Distributed under the LGPL
+*/
+
 #include "geometry.h"
 #include "part.h"
 #include "resources.h"
@@ -61,7 +68,7 @@ Part::Loader::~Loader()
 
 void Part::Loader::graphic(State s, const string &n)
 {
-       part.graphic[s]=&res.get<Graphic>(n);
+       part.graphic[s]=res.get<Graphic>(n);
 }
 
 void Part::Loader::align(int x, int y)