summaryrefslogtreecommitdiff
path: root/npc/014-5-1
diff options
context:
space:
mode:
Diffstat (limited to 'npc/014-5-1')
-rw-r--r--npc/014-5-1/sagratha.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/014-5-1/sagratha.txt b/npc/014-5-1/sagratha.txt
index c06615f2f..c22cf5d75 100644
--- a/npc/014-5-1/sagratha.txt
+++ b/npc/014-5-1/sagratha.txt
@@ -7,7 +7,7 @@
// SaggyScoreUpdate( amount )
function script SaggyScoreUpdate {
.@val=getarg(0);
- SAGRATHA_SCORE=max(-50, min(50, SAGRATHA_SCORE+.@val));
+ SAGRATHA_SCORE=limit(-50, SAGRATHA_SCORE+.@val, 50);
return;
}