| 300 | } |
| 301 | |
| 302 | afxRPGMagicSpellData* afxSpellBook::getSpellRPGData(S32 page, S32 slot) |
| 303 | { |
| 304 | S32 idx = mDataBlock->getPageSlotIndex(page, slot); |
| 305 | if (idx < 0 || !mDataBlock->rpg_spells[idx]) |
| 306 | return 0; |
| 307 | |
| 308 | return mDataBlock->rpg_spells[idx]; |
| 309 | } |
| 310 | |
| 311 | //~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~// |
| 312 |
no test coverage detected