Update spawn_object.c

remove hardcoded object distance thing
This commit is contained in:
PyroJay4
2021-09-06 12:29:11 -04:00
committed by GitHub
parent 2d58bddd06
commit f29a1694de

View File

@@ -270,11 +270,7 @@ struct Object *allocate_object(struct ObjectNode *objList) {
obj->oHealth = 2048;
obj->oCollisionDistance = 1000.0f;
if (gCurrLevelNum == LEVEL_TTC) {
obj->oDrawingDistance = 2000.0f;
} else {
obj->oDrawingDistance = 4000.0f;
}
obj->oDrawingDistance = 4500.0f;
mtxf_identity(obj->transform);