diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2013-03-16 11:20:23 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2013-03-16 11:20:23 (GMT) |
| commit | b6e1526345b2e2e189b999ddc3fabdb151f395fb (patch) | |
| tree | 65dd16210aea9bfdef8b099e1a8515e5bc6ff71a /src/cat/LegacyLuaAPI.cpp | |
| parent | 0646b7fe41bf8dc94b4f2eb1e3e1c0e85ac1f254 (diff) | |
| parent | ff304321c54530040d82cb51b8c8742ed7611e54 (diff) | |
| download | powder-b6e1526345b2e2e189b999ddc3fabdb151f395fb.zip powder-b6e1526345b2e2e189b999ddc3fabdb151f395fb.tar.gz | |
Merge branch 'master' of github.com:FacialTurd/The-Powder-Toy
Diffstat (limited to 'src/cat/LegacyLuaAPI.cpp')
| -rw-r--r-- | src/cat/LegacyLuaAPI.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cat/LegacyLuaAPI.cpp b/src/cat/LegacyLuaAPI.cpp index 506c910..5df660c 100644 --- a/src/cat/LegacyLuaAPI.cpp +++ b/src/cat/LegacyLuaAPI.cpp @@ -1632,7 +1632,8 @@ 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")); - new InformationMessage(title, message); + int large = luaL_optint(l, 1, 0); + new InformationMessage(title, message, large); return 0; } int luatpt_get_numOfParts(lua_State* l) |
