Mercurial > fife-parpg
comparison engine/core/view/renderers/genericrenderer.cpp @ 30:9c3f37432a28
fix clone constructor
author | spq@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Fri, 11 Jul 2008 13:08:44 +0000 |
parents | 0cb049f291e1 |
children | 9a9f4447af7c |
comparison
equal
deleted
inserted
replaced
29:0cb049f291e1 | 30:9c3f37432a28 |
---|---|
278 m_infos() { | 278 m_infos() { |
279 setEnabled(false); | 279 setEnabled(false); |
280 } | 280 } |
281 | 281 |
282 GenericRenderer::GenericRenderer(const GenericRenderer& old): | 282 GenericRenderer::GenericRenderer(const GenericRenderer& old): |
283 RendererBase(old) { | 283 RendererBase(old), |
284 m_imagepool(old.m_imagepool), | |
285 m_animationpool(old.m_animationpool), | |
286 m_infos() { | |
284 setEnabled(false); | 287 setEnabled(false); |
285 } | 288 } |
286 | 289 |
287 RendererBase* GenericRenderer::clone() { | 290 RendererBase* GenericRenderer::clone() { |
288 return new GenericRenderer(*this); | 291 return new GenericRenderer(*this); |