Skip to content

Commit

Permalink
modified second "infinity loop !" error so that its different from th…
Browse files Browse the repository at this point in the history
…e first

and thus doesn't cause confusion (and it wasn't loop-related anyway).

Signed-off-by: shennetsind <ind@henn.et>
  • Loading branch information
shennetsind committed Dec 11, 2013
1 parent cb96c43 commit f19fb90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/map/script.c
Expand Up @@ -3685,7 +3685,7 @@ void run_script_main(struct script_state *st) {
break;
}
if( !st->freeloop && cmdcount>0 && (--cmdcount)<=0 ){
ShowError("run_script: infinity loop !\n");
ShowError("run_script: too many opeartions being processed non-stop !\n");
script->reportsrc(st);
st->state=END;
}
Expand Down

0 comments on commit f19fb90

Please sign in to comment.