Make the Dubuque Protocol the default. (#3)
Until we have menus implemented to change protocols, the Dubuque Protocol will be the default. Fixes Management/KTag_Project_Management#5 Co-authored-by: Joe Kearney <joe@clubk.club> Reviewed-on: #3
This commit is contained in:
parent
bfcdf4c354
commit
9431dc4534
2 changed files with 8 additions and 2 deletions
|
@ -311,6 +311,12 @@ static void Playing__Interacting_Do(StateMachineContext_T * context)
|
|||
KLOG_INFO(KLOG_TAG, "%u of %u health remaining", KTAG_Game_Data.My_Health, KTAG_Game_Data.Max_Health);
|
||||
#endif // LOG_INTERACTING_SUBSTATE
|
||||
}
|
||||
else
|
||||
{
|
||||
#ifdef LOG_INTERACTING_SUBSTATE
|
||||
KLOG_INFO(KLOG_TAG, "Tag was my own--ignoring.");
|
||||
#endif // LOG_INTERACTING_SUBSTATE
|
||||
}
|
||||
}
|
||||
else if (player_ID != my_player_ID)
|
||||
{
|
||||
|
|
|
@ -110,8 +110,8 @@ static void Initializing_Exit(StateMachineContext_T * context)
|
|||
Perform_Audio_Action(&audio_action);
|
||||
|
||||
//! \todo Add a menu item to change the weapon.
|
||||
KLOG_WARN(KLOG_TAG, "Weapon hardcoded to the Nerf Laser Strike Blaster!");
|
||||
uint8_t weapon_ID = NERF_LASER_STRIKE_BLASTER_ID;
|
||||
KLOG_WARN(KLOG_TAG, "Weapon hardcoded to the Dubuque Protocol!");
|
||||
uint8_t weapon_ID = DUBUQUE_PROTOCOL_ID;
|
||||
(void) SETTINGS_set_uint8_t(SYSTEMK_SETTING_WEAPONID, weapon_ID);
|
||||
(void) SETTINGS_Save();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue