Mercurial > fife-parpg
diff engine/core/loaders/native/video_loaders/image_loader.cpp @ 239:3804348fe3fb
Removed some weird stubs.
Correctly set resource location.
Note that the resource location on the ResourceClass seems to be of questionable utility anyway.
author | phoku@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Tue, 24 Mar 2009 16:32:08 +0000 |
parents | 90005975cdbb |
children |
line wrap: on
line diff
--- a/engine/core/loaders/native/video_loaders/image_loader.cpp Tue Mar 24 16:06:02 2009 +0000 +++ b/engine/core/loaders/native/video_loaders/image_loader.cpp Tue Mar 24 16:32:08 2009 +0000 @@ -58,6 +58,7 @@ } Image* res = RenderBackend::instance()->createImage(surface); + res->setResourceLocation(location); if (loc) { res->setXShift(loc->getXShift()); res->setYShift(loc->getYShift());