diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-08-19 11:08:46 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-08-19 11:08:46 (GMT) |
| commit | fee3f3bf44ae686d30abec6dabff446f7cf74656 (patch) | |
| tree | 8a4933f9c427ec1f6851be90207a8b7f944959f8 /src/cat | |
| parent | 571abd97a376f293262c693ce983108097bcf785 (diff) | |
| download | powder-fee3f3bf44ae686d30abec6dabff446f7cf74656.zip powder-fee3f3bf44ae686d30abec6dabff446f7cf74656.tar.gz | |
Ensure Lua mouse status is reset at startup, fixes #130
Diffstat (limited to 'src/cat')
| -rw-r--r-- | src/cat/LuaScriptInterface.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cat/LuaScriptInterface.cpp b/src/cat/LuaScriptInterface.cpp index c68c72c..dc3d5fb 100644 --- a/src/cat/LuaScriptInterface.cpp +++ b/src/cat/LuaScriptInterface.cpp @@ -97,6 +97,9 @@ LuaScriptInterface::LuaScriptInterface(GameModel * m): {NULL,NULL} }; + luacon_mousedown = false; + luacon_mousebutton = 0; + luacon_currentCommand = ¤tCommand; luacon_lastError = &lastError; |
