Skip to content

Commit

Permalink
Merge pull request #3297 from jasonch35/compiler-warning
Browse files Browse the repository at this point in the history
Fix warning when SECURE_NPCTIMEOUT enabled
  • Loading branch information
MishimaHaruna committed May 24, 2024
2 parents 9c71684 + 9c0dfd1 commit dedf63e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/map/npc.c
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,8 @@ static int npc_rr_secure_timeout_timer(int tid, int64 tick, int id, intptr_t dat
case NPCT_MENU:
timeout = NPC_SECURE_TIMEOUT_MENU;
break;
//case NPCT_WAIT: var starts with this value
case NPCT_WAIT: //var starts with this value
break;
}

if( DIFF_TICK(tick,sd->npc_idle_tick) > (timeout*1000) ) {
Expand Down

0 comments on commit dedf63e

Please sign in to comment.