| 270 | } |
| 271 | |
| 272 | void Tr2TexturedSpriteObject::SetTextureSecondary( ITr2Sprite2dTexture* t ) |
| 273 | { |
| 274 | if( t != m_textureSecondary ) |
| 275 | { |
| 276 | if( m_textureSecondary ) |
| 277 | { |
| 278 | m_textureSecondary->UnregisterForChangeNotification( this ); |
| 279 | } |
| 280 | m_textureSecondary = t; |
| 281 | if( m_textureSecondary ) |
| 282 | { |
| 283 | m_textureSecondary->RegisterForChangeNotification( this ); |
| 284 | } |
| 285 | SetDirty(); |
| 286 | } |
| 287 | } |
| 288 | |
| 289 | ITr2Sprite2dTexture* Tr2TexturedSpriteObject::GetTextureSecondary() const |
| 290 | { |
nothing calls this directly
no test coverage detected