mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 09:11:48 +00:00
Turn the console warning into a devmode print because turns out it happens more often than I thought
This commit is contained in:
parent
34f8464cbf
commit
893ea10a67
1 changed files with 1 additions and 1 deletions
|
@ -10483,7 +10483,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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue