diff options
author | Adam Borowski <kilobyte@angband.pl> | 2012-07-10 02:39:14 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-07-10 11:11:28 +0200 |
commit | c07ccef778091334f7611ec29a276bb6a3b89fc5 (patch) | |
tree | af3a8b68a65d06ae60c2a5ca874bcddae1859640 /crawl-ref/source/random.cc | |
parent | 2302989732b3e25c65e0f2279b452e04d1552940 (diff) | |
download | crawl-ref-c07ccef778091334f7611ec29a276bb6a3b89fc5.tar.gz crawl-ref-c07ccef778091334f7611ec29a276bb6a3b89fc5.zip |
Drop a bunch of useless uses of this->
I left a few cases where it helps disambiguate between global and object
functions by the same name (formatted_string::cprintf(), etc).
Diffstat (limited to 'crawl-ref/source/random.cc')
-rw-r--r-- | crawl-ref/source/random.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/random.cc b/crawl-ref/source/random.cc index fc7504fec7..d52c0a7993 100644 --- a/crawl-ref/source/random.cc +++ b/crawl-ref/source/random.cc @@ -126,7 +126,7 @@ int roll_dice(int num, int size) int dice_def::roll() const { - return roll_dice(this->num, this->size); + return roll_dice(num, size); } dice_def calc_dice(int num_dice, int max_damage) |