mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-18 13:13:29 -04:00
Add enum for attention types
This commit is contained in:
@@ -1344,10 +1344,10 @@ void daRd_c::modeProc(daRd_c::Proc_e proc, int newMode) {
|
||||
|
||||
if (newMode == MODE_DEATH || newMode == MODE_SW_WAIT) {
|
||||
fopAcM_OffStatus(this, fopAcStts_SHOWMAP_e);
|
||||
cLib_offBit<u32>(attention_info.flags, fopAc_Attn_LOCKON_ENEMY_e);
|
||||
cLib_offBit<u32>(attention_info.flags, fopAc_Attn_LOCKON_BATTLE_e);
|
||||
} else {
|
||||
fopAcM_OnStatus(this, fopAcStts_SHOWMAP_e);
|
||||
cLib_onBit<u32>(attention_info.flags, fopAc_Attn_LOCKON_ENEMY_e);
|
||||
cLib_onBit<u32>(attention_info.flags, fopAc_Attn_LOCKON_BATTLE_e);
|
||||
}
|
||||
|
||||
mMode = newMode;
|
||||
|
||||
Reference in New Issue
Block a user