diff options
author | elliptic <hyperelliptical@gmail.com> | 2012-09-18 15:05:14 -0400 |
---|---|---|
committer | elliptic <hyperelliptical@gmail.com> | 2012-09-18 15:06:59 -0400 |
commit | 6baf8564bf44cf0afcb786cbac16bf0f150ed10a (patch) | |
tree | 43a2d400e2155081d032998c1c595294c052262b /crawl-ref/source/player-stats.cc | |
parent | e4cdd90654cd0b60ce0a97b40d9c22c8b629acad (diff) | |
download | crawl-ref-6baf8564bf44cf0afcb786cbac16bf0f150ed10a.tar.gz crawl-ref-6baf8564bf44cf0afcb786cbac16bf0f150ed10a.zip |
Fix choose_stat_gain call asking for the wrong number of returns.
Diffstat (limited to 'crawl-ref/source/player-stats.cc')
-rw-r--r-- | crawl-ref/source/player-stats.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/player-stats.cc b/crawl-ref/source/player-stats.cc index 912543c772..1046ce26bc 100644 --- a/crawl-ref/source/player-stats.cc +++ b/crawl-ref/source/player-stats.cc @@ -100,7 +100,7 @@ void attribute_increase() mouse_control mc(MOUSE_MODE_MORE); // Calling a user-defined lua function here to let players reply to the // prompt automatically. - clua.callfn("choose_stat_gain", 0); + clua.callfn("choose_stat_gain", 0, 0); while (true) { |