Fixes a RENEWAL_CAST compile warning (#7137)
* Fixes a compile warning when RENEWAL is enabled but RENEWAL_CAST is disabled. Thanks to @Pokye and @Lemongrass3110!
This commit is contained in:
parent
84d295e784
commit
97b5f3b4ac
@ -18530,7 +18530,7 @@ int skill_castfix_sc(struct block_list *bl, double time, uint8 flag)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
time = max(time, 0);
|
time = std::max(time, 0.0);
|
||||||
//ShowInfo("Castime castfix_sc = %f\n",time);
|
//ShowInfo("Castime castfix_sc = %f\n",time);
|
||||||
|
|
||||||
return (int)time;
|
return (int)time;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user