|
@@ -236,7 +236,7 @@ static __inline__ float _delta_time(void){
|
|
|
|
|
|
|
|
static __inline__ int can_modify_min_cap(void){
|
|
static __inline__ int can_modify_min_cap(void){
|
|
|
if (force_full_ts == 0) {
|
|
if (force_full_ts == 0) {
|
|
|
- return;
|
|
|
|
|
|
|
+ return 0;
|
|
|
}
|
|
}
|
|
|
if (shark_get_seconds() > force_full_ts){
|
|
if (shark_get_seconds() > force_full_ts){
|
|
|
if ((shark_get_seconds() - force_full_ts) > MAX_TIME_FULL_TO_EMPTY) {
|
|
if ((shark_get_seconds() - force_full_ts) > MAX_TIME_FULL_TO_EMPTY) {
|