X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fpart.cpp;h=f5e4b79ef5c36a674f329fd9ca3dbc9a575c5e1c;hb=c2635c5a3dca6a6cea5562fd387beb0662b18cf0;hp=1d965385e1372d2b3da5e765fac3e26351d4dc8c;hpb=d7ae291415a21cc886fe318070b41ac8d3e57a30;p=libs%2Fgltk.git diff --git a/source/part.cpp b/source/part.cpp index 1d96538..f5e4b79 100644 --- a/source/part.cpp +++ b/source/part.cpp @@ -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(n); + part.graphic[s]=res.get(n); } void Part::Loader::align(int x, int y)