This website works better with JavaScript.
Home
Help
Sign In
lolengine
/
lol
mirror of
https://github.com/lolengine/lol
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
lua: print the actual panic message before dumping a callstack.
legacy
Sam Hocevar
sam
11 years ago
parent
cbb4dadd6c
commit
5d57b53eb0
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
src/world.cpp
+ 2
- 0
src/world.cpp
View File
@@ -33,6 +33,8 @@ class WorldData
static int LuaPanic(lua_State* L)
{
char const *message = lua_tostring(L, -1);
Log::Error("%s\n", message);
DebugAbort();
return 0;
}
Write
Preview
Loading…
Cancel
Save