diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-05-01 14:47:53 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-05-01 14:47:53 +0000 |
commit | 106fb6de1cf3523c10197dc8e02ec44e94523f18 (patch) | |
tree | be6eba2338470be1467fc89131f20d80878a4906 /crawl-ref/source/it_use3.cc | |
parent | 83043ea070b1f45c5cad9c7ad1f1844a01079809 (diff) | |
download | crawl-ref-106fb6de1cf3523c10197dc8e02ec44e94523f18.tar.gz crawl-ref-106fb6de1cf3523c10197dc8e02ec44e94523f18.zip |
Type safety, cast cleanups, etc.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1401 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/it_use3.cc')
-rw-r--r-- | crawl-ref/source/it_use3.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/it_use3.cc b/crawl-ref/source/it_use3.cc index 3ced683d07..3b936bedda 100644 --- a/crawl-ref/source/it_use3.cc +++ b/crawl-ref/source/it_use3.cc @@ -22,6 +22,7 @@ #include "externs.h" #include "beam.h" +#include "cloud.h" #include "decks.h" #include "direct.h" #include "effects.h" @@ -849,7 +850,7 @@ void tome_of_power(char sc_read_2) case 8: case 9: mpr("A cloud of weird smoke pours from the book's pages!"); - big_cloud( CLOUD_GREY_SMOKE + random2(3), KC_YOU, + big_cloud( random_smoke_type(), KC_YOU, you.x_pos, you.y_pos, 20, 10 + random2(8) ); return; case 1: |