Update spawn_object.c
remove hardcoded object distance thing
This commit is contained in:
1 parent
2d58bddd06
commit
f29a1694de
1 file changed
+1
-5
@@ -270,11 +270,7 @@ struct Object *allocate_object(struct ObjectNode *objList) {
|
|||||||
obj->oHealth = 2048;
|
obj->oHealth = 2048;
|
||||||
|
|
||||||
obj->oCollisionDistance = 1000.0f;
|
obj->oCollisionDistance = 1000.0f;
|
||||||
if (gCurrLevelNum == LEVEL_TTC) {
|
obj->oDrawingDistance = 4500.0f;
|
||||||
obj->oDrawingDistance = 2000.0f;
|
|
||||||
} else {
|
|
||||||
obj->oDrawingDistance = 4000.0f;
|
|
||||||
}
|
|
||||||
|
|
||||||
mtxf_identity(obj->transform);
|
mtxf_identity(obj->transform);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user