Skip to content
Snippets Groups Projects
Commit ec103678 authored by Monster Iestyn's avatar Monster Iestyn
Browse files

Bail out of P_RespawnSpecials if no mobjinfo entry has a doomednum that...

Bail out of P_RespawnSpecials if no mobjinfo entry has a doomednum that matches, and print a warning to the console.

This prevents a mobj of NUMMOBJTYPES from being created and potentially crashing the game. Really, this happens only if you start messing with the mapthings of respawning items like rings/weapons/etc in the first place via Lua.
parent baf22717
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment