diff options
author | Adam Borowski <kilobyte@angband.pl> | 2011-06-07 04:54:33 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2011-06-07 16:11:14 +0200 |
commit | db41c9a324d2fdbbafe9277bb035530356752c42 (patch) | |
tree | ce1df44acb6e04ae028d72795d03c371f54339bd /crawl-ref/source/godpassive.h | |
parent | feb88f991cac364a3bb85a9d71e7de201dd3e6bd (diff) | |
download | crawl-ref-db41c9a324d2fdbbafe9277bb035530356752c42.tar.gz crawl-ref-db41c9a324d2fdbbafe9277bb035530356752c42.zip |
Fix a crash on startup.
During the constructor, "you" might be not defined yet.
Diffstat (limited to 'crawl-ref/source/godpassive.h')
-rw-r--r-- | crawl-ref/source/godpassive.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/godpassive.h b/crawl-ref/source/godpassive.h index ce417a7725..1e94259ebc 100644 --- a/crawl-ref/source/godpassive.h +++ b/crawl-ref/source/godpassive.h @@ -38,7 +38,7 @@ void che_handle_change(che_change_type ct, int diff); void jiyva_eat_offlevel_items(); void jiyva_slurp_bonus(int item_value, int *js); void jiyva_slurp_message(int js); -void ash_init_bondage(); +void ash_init_bondage(player *y); void ash_check_bondage(bool msg = true); std::string ash_describe_bondage(int flags, bool level); bool ash_id_item(item_def& item, bool silent = true); |