----------------------------------------------------------------------------
| 492 | |
| 493 | //---------------------------------------------------------------------------- |
| 494 | bool GameBase::setDataBlock(GameBaseData* dptr) |
| 495 | { |
| 496 | if (isGhost() || isProperlyAdded()) { |
| 497 | if (mDataBlock != dptr) |
| 498 | return onNewDataBlock(dptr,false); |
| 499 | } |
| 500 | else |
| 501 | mDataBlock = dptr; |
| 502 | return true; |
| 503 | } |
| 504 | |
| 505 | |
| 506 | //-------------------------------------------------------------------------- |
no outgoing calls
no test coverage detected