mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
- do not throw exceptions to exit without proper handling.
This commit is contained in:
parent
c3d742dda0
commit
75205ca69c
2 changed files with 1 additions and 5 deletions
|
@ -655,7 +655,7 @@ static FORCE_INLINE int32_t Blrintf(const float x)
|
|||
#ifdef DEBUGGINGAIDS
|
||||
# define Bexit(status) do { initprintf("exit(%d) at %s:%d in %s()\n", status, __FILE__, __LINE__, EDUKE32_FUNCTION); exit(status); } while (0)
|
||||
#else
|
||||
# define Bexit(a) throw(1)
|
||||
# define Bexit(a) exit(a)// throw(1)
|
||||
#endif
|
||||
|
||||
|
||||
|
|
|
@ -286,10 +286,6 @@ int32_t A_CheckInventorySprite(spritetype *s)
|
|||
|
||||
void G_GameExit(const char *msg)
|
||||
{
|
||||
#ifdef LUNATIC
|
||||
El_PrintTimes();
|
||||
El_DestroyState(&g_ElState);
|
||||
#endif
|
||||
if (*msg != 0 && g_player[myconnectindex].ps != NULL)
|
||||
g_player[myconnectindex].ps->palette = BASEPAL;
|
||||
|
||||
|
|
Loading…
Reference in a new issue