mirror of
https://github.com/jugeeya/UltimateTrainingModpack.git
synced 2025-03-25 07:46:11 +00:00
Fix clippy
This commit is contained in:
parent
1475fb2509
commit
99b0d88f44
2 changed files with 2 additions and 2 deletions
|
@ -111,7 +111,7 @@ unsafe fn buff_hero(module_accessor: &mut app::BattleObjectModuleAccessor, statu
|
|||
set_buff_rem(module_accessor, buff_vec.len());
|
||||
// Since it's the first step of buffing, we need to set up how many buffs there are
|
||||
}
|
||||
if get_buff_rem(module_accessor) <= 0 {
|
||||
if get_buff_rem(module_accessor) == 0 {
|
||||
// If there are no buffs selected/left, we're done
|
||||
if frame_counter::should_delay(3_u32, *BUFF_DELAY_COUNTER) {
|
||||
// Need to wait 3 frames to make sure we stop the spell SFX, since it's a bit delayed
|
||||
|
|
|
@ -18,7 +18,7 @@ mod input_log;
|
|||
pub mod menu;
|
||||
pub mod notifications;
|
||||
|
||||
pub unsafe fn set_icon_text(pane: &mut TextBox, icons: &Vec<u16>) {
|
||||
pub unsafe fn set_icon_text(pane: &mut TextBox, icons: &[u16]) {
|
||||
pane.set_text_string("");
|
||||
|
||||
let it = pane.text_buf as *mut u16;
|
||||
|
|
Loading…
Add table
Reference in a new issue