Warn about possible crash for vanilla when failing to spawn mapthing

This commit is contained in:
indev committed 2024-01-11 20:13:13 +03:00
1 parent 2321e4aa7f
commit b7ffaf4243
1 file changed
+1 -1
+1 -1
View File
@@ -11507,7 +11507,7 @@ void P_SpawnMapThing(mapthing_t *mthing)
mobj = P_SpawnMobj(x, y, z, i);
if (!mobj || P_MobjWasRemoved(mobj)) {
CONS_Alert(CONS_WARNING, "Failed to spawn map thing #%d at %d, %d\n", mthing->type, x>>FRACBITS, y>>FRACBITS);
CONS_Alert(CONS_ERROR, "Failed to spawn map thing #%d at %d, %d. This will crash vanilla clients!\n", mthing->type, x>>FRACBITS, y>>FRACBITS);
return;
}