diff options
| author | jacob1 <jfu614@gmail.com> | 2013-05-09 22:52:13 (GMT) |
|---|---|---|
| committer | jacob1 <jfu614@gmail.com> | 2013-05-09 22:52:13 (GMT) |
| commit | 67e1213905edbd248ef4d434c3e5e53c151828a7 (patch) | |
| tree | 09f8d223636ec67f20a46dac8205aa10d8608dc5 /src/cat/LegacyLuaAPI.cpp | |
| parent | e53f2bf0b5115917befc1f120a6731bca30e2024 (diff) | |
| download | powder-67e1213905edbd248ef4d434c3e5e53c151828a7.zip powder-67e1213905edbd248ef4d434c3e5e53c151828a7.tar.gz | |
fix tpt.message_box, fix compiling error
Diffstat (limited to 'src/cat/LegacyLuaAPI.cpp')
| -rw-r--r-- | src/cat/LegacyLuaAPI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cat/LegacyLuaAPI.cpp b/src/cat/LegacyLuaAPI.cpp index 4d3c0c8..cb6fd9a 100644 --- a/src/cat/LegacyLuaAPI.cpp +++ b/src/cat/LegacyLuaAPI.cpp @@ -1739,7 +1739,7 @@ int luatpt_message_box(lua_State* l) { std::string title = std::string(luaL_optstring(l, 1, "Title")); std::string message = std::string(luaL_optstring(l, 2, "Message")); - int large = luaL_optint(l, 1, 0); + int large = luaL_optint(l, 3, 0); new InformationMessage(title, message, large); return 0; } |
