diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-26 10:39:39 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-26 10:39:39 +0000 |
commit | 61cae4a761c2f72cda44ae269c7007b37a0c14a7 (patch) | |
tree | fec8ec71ca7ca6eebd9d48881bc5ee3fe27d04c1 /crawl-ref/source/tile2.cc | |
parent | d4acdf4a6a4b73607d58714a66efd372674adb56 (diff) | |
download | crawl-ref-61cae4a761c2f72cda44ae269c7007b37a0c14a7.tar.gz crawl-ref-61cae4a761c2f72cda44ae269c7007b37a0c14a7.zip |
Misc. minor cleanups. (Yes, a huge amount of them but still...)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6146 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/tile2.cc')
-rw-r--r-- | crawl-ref/source/tile2.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/crawl-ref/source/tile2.cc b/crawl-ref/source/tile2.cc index c4ee319a0c..0e85818e53 100644 --- a/crawl-ref/source/tile2.cc +++ b/crawl-ref/source/tile2.cc @@ -1407,16 +1407,16 @@ static bool _draw_doll(img_type img, dolls_data *doll, bool force_redraw = false if (!changed && !force_redraw) - return false; + return (false); tilep_calc_flags(parts2, flags); ImgClear(img); - // Hack: change overlay order of boots/skirts + // Hack: change overlay order of boots/skirts. for (i = 0; i < TILEP_PARTS_TOTAL; i++) p_order2[i] = p_order[i]; - // swap boot and leg-armor + // Swap boot and leg-armour. if (parts2[TILEP_PART_LEG] < TILEP_LEG_SKIRT_OFS) { p_order2[6] = TILEP_PART_LEG; @@ -1450,16 +1450,16 @@ static bool _draw_doll(img_type img, dolls_data *doll, bool force_redraw = false else if (parts2[p] && flags[p]) _tcache_overlay_player(img, 0, 0, p, parts2[p], ymax, &c); } - return true; + return (true); } static void _load_doll_data(const char *fn, dolls_data *dolls, int max, int *mode, int *cur) { char fbuf[1024]; - int cur0 = 0; + int cur0 = 0; int mode0 = TILEP_M_DEFAULT; - FILE *fp = NULL; + FILE *fp = NULL; std::string dollsTxtString = datafile_path(fn, false, true); const char *dollsTxt = (dollsTxtString.c_str()[0] == 0) ? |