Turn the console warning into a devmode print because turns out it happens more often than I thought

(cherry picked from commit 893ea10a677274b8cb3aa0987f22f162521b6311)
This commit is contained in:
SteelT 2022-03-02 12:46:24 -05:00 committed by James R
parent c73d3b4244
commit cb46f8de39

View file

@ -9889,7 +9889,7 @@ mobj_t *P_SpawnMobj(fixed_t x, fixed_t y, fixed_t z, mobjtype_t type)
// Hack: Some code assumes that P_SpawnMobj can never return NULL // Hack: Some code assumes that P_SpawnMobj can never return NULL
// So replace MT_NULL with MT_RAY in the meantime // So replace MT_NULL with MT_RAY in the meantime
// Remove when dealt properly // Remove when dealt properly
CONS_Alert(CONS_WARNING, "Tried to spawn MT_NULL, using MT_RAY\n"); CONS_Debug(DBG_GAMELOGIC, "Tried to spawn MT_NULL, using MT_RAY\n");
type = MT_RAY; type = MT_RAY;
} }