diff options
author | Bardur Arantsson <bardur@scientician.net> | 2011-02-20 19:54:40 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2011-02-20 20:56:41 +0100 |
commit | 5fbe06613a8a9e5d8731a832ddff0e9bdce112bb (patch) | |
tree | 4ab5267304509feed1bbcf4ad265cd8597c64fce /src/powers.c | |
parent | 420428c53fe83064331ac2e06297c8a93abc93cf (diff) |
Remove redefinition of "bool" for C++ friendliness.
Diffstat (limited to 'src/powers.c')
-rw-r--r-- | src/powers.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/powers.c b/src/powers.c index d9a41561..f51b09b3 100644 --- a/src/powers.c +++ b/src/powers.c @@ -15,9 +15,9 @@ /* * Note: return value indicates the amount of mana to use */ -bool power_chance(power_type *x_ptr) +bool_ power_chance(power_type *x_ptr) { - bool use_hp = FALSE; + bool_ use_hp = FALSE; int diff = x_ptr->diff; /* Always true ? */ @@ -1261,7 +1261,7 @@ static void power_activate(int power) /* * Print a batch of power. */ -static void print_power_batch(int *p, int start, int max, bool mode) +static void print_power_batch(int *p, int start, int max, bool_ mode) { char buff[80]; power_type* spell; @@ -1295,7 +1295,7 @@ static power_type* select_power(int *x_idx) char which; int max = 0, i, start = 0; power_type* ret; - bool mode = FALSE; + bool_ mode = FALSE; int *p; C_MAKE(p, power_max, int); @@ -1384,7 +1384,7 @@ void do_cmd_power() { int x_idx; power_type *x_ptr; - bool push = TRUE; + bool_ push = TRUE; /* Get the skill, if available */ if (repeat_pull(&x_idx)) |