| 265 | } |
| 266 | |
| 267 | bool RoomTrainingHall::hasOpenCreatureSpot(Creature* c) |
| 268 | { |
| 269 | if (c->getLevel() >= ConfigManager::getSingleton().getRoomConfigUInt32("TrainHallMaxTrainingLevel")) |
| 270 | return false; |
| 271 | |
| 272 | // We accept all creatures as soon as there are free dummies |
| 273 | return mUnusedDummies.size() > 0; |
| 274 | } |
| 275 | |
| 276 | bool RoomTrainingHall::addCreatureUsingRoom(Creature* creature) |
| 277 | { |
nothing calls this directly
no test coverage detected