diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-07-08 10:30:21 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-07-08 10:30:21 +0000 |
commit | c4873e7d86f11cb84df23d06c73c38fe5a5fdbbf (patch) | |
tree | 05de1ca23ac2c52b2530e981850f9ebfa92a5564 | |
parent | ecb40974abb1b8db7db7baf7dba0be77895bb500 (diff) | |
download | crawl-ref-c4873e7d86f11cb84df23d06c73c38fe5a5fdbbf.tar.gz crawl-ref-c4873e7d86f11cb84df23d06c73c38fe5a5fdbbf.zip |
Silenced another incorrect MinGW warning.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1794 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r-- | crawl-ref/source/monstuff.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc index c0fe8a6480..3d1b4c755b 100644 --- a/crawl-ref/source/monstuff.cc +++ b/crawl-ref/source/monstuff.cc @@ -1714,8 +1714,8 @@ static void handle_behaviour(monsters *mon) // hack: smarter monsters will // tend to pursue the player longer. - int memory; - switch(mons_intel(monster_index(mon))) + int memory = 0; + switch (mons_intel(monster_index(mon))) { case I_HIGH: memory = 100 + random2(200); |