| 530 | } |
| 531 | |
| 532 | void IGameController::OnCharacterSpawn(class CCharacter *pChr) |
| 533 | { |
| 534 | pChr->SetTeams(&Teams()); |
| 535 | Teams().OnCharacterSpawn(pChr->GetPlayer()->GetCid()); |
| 536 | |
| 537 | // default health |
| 538 | pChr->IncreaseHealth(10); |
| 539 | |
| 540 | // give default weapons |
| 541 | pChr->GiveWeapon(WEAPON_HAMMER); |
| 542 | pChr->GiveWeapon(WEAPON_GUN); |
| 543 | } |
| 544 | |
| 545 | void IGameController::HandleCharacterTiles(CCharacter *pChr, int MapIndex) |
| 546 | { |
nothing calls this directly
no test coverage detected