summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/effects.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/effects.cc')
-rw-r--r--crawl-ref/source/effects.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc
index c3fdf3aa29..a37f635f4d 100644
--- a/crawl-ref/source/effects.cc
+++ b/crawl-ref/source/effects.cc
@@ -193,8 +193,8 @@ bool forget_spell(void)
bool lose_stat(unsigned char which_stat, unsigned char stat_loss, bool force)
{
bool statLowered = false; // must initialize to false {dlb}
- char *ptr_stat = 0; // NULL {dlb}
- char *ptr_redraw = 0; // NULL {dlb}
+ char *ptr_stat = NULL;
+ bool *ptr_redraw = NULL;
char newValue = 0; // holds new value, for comparison to old {dlb}
// begin outputing message: {dlb}