summaryrefslogtreecommitdiff
path: root/src/cmd6.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2012-04-07 14:50:36 +0200
committerBardur Arantsson <bardur@scientician.net>2012-04-07 15:28:27 +0200
commita01f15e08da3b2e0e326b2a94100e17962136741 (patch)
treefa07a987e816cc752f909b689e2118f6c963c3b3 /src/cmd6.c
parent41b6617e992d3fedda4c0a93ddd0fa4ad834a2ae (diff)
Lua: Refactor all the corruption code into C
Diffstat (limited to 'src/cmd6.c')
-rw-r--r--src/cmd6.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd6.c b/src/cmd6.c
index 48d56125..67fad8e2 100644
--- a/src/cmd6.c
+++ b/src/cmd6.c
@@ -2347,7 +2347,7 @@ static bool_ quaff_potion(int tval, int sval, int pval, int pval2)
}
msg_print("You feel the dark corruptions of Morgoth coming over you!");
- gain_random_corruption(0);
+ gain_random_corruption();
ident = TRUE;
break;
}
@@ -7220,7 +7220,7 @@ const char *activation_aux(object_type * o_ptr, bool_ doit, int item)
case ACT_MUT:
{
if (!doit) return "gain corruption every 10 turns";
- gain_random_corruption(0);
+ gain_random_corruption();
/* Timeout is set before return */
break;