Sfoglia il codice sorgente

lua: print the actual panic message before dumping a callstack.

legacy
Sam Hocevar sam 11 anni fa
parent
commit
5d57b53eb0
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. +2
    -0
      src/world.cpp

+ 2
- 0
src/world.cpp Vedi 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;
}


Caricamento…
Annulla
Salva