summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2006-11-08 17:08:00 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2006-11-08 17:08:00 +0000
commit7d52758f5918f00b28e65f713a83953185e6a7e5 (patch)
tree9c8539e03ba42565a9520cdd389db5925b048f01
parentcf82a06295cb45cbcc59a2a0e27048d7f2368036 (diff)
downloadcrawl-ref-7d52758f5918f00b28e65f713a83953185e6a7e5.tar.gz
crawl-ref-7d52758f5918f00b28e65f713a83953185e6a7e5.zip
Fix compile failure with CLUA_BINDINGS not defined.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup@369 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/source/delay.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/delay.cc b/crawl-ref/source/delay.cc
index 518c0162c2..8931849cac 100644
--- a/crawl-ref/source/delay.cc
+++ b/crawl-ref/source/delay.cc
@@ -803,8 +803,8 @@ static int userdef_interrupt_activity( const delay_queue_item &idelay,
activity_interrupt_type ai,
const activity_interrupt_data &at )
{
- const int delay = idelay.type;
#ifdef CLUA_BINDINGS
+ const int delay = idelay.type;
lua_State *ls = clua.state();
if (!ls || ai == AI_FORCE_INTERRUPT)
return (true);