Fix silhouette

This commit is contained in:
Arceveti committed 2021-09-21 12:25:56 -07:00
1 parent bd9165686d
commit 59d609fb07
11 files changed
+49 -46

No files matched your search

+10 -4
View File
@@ -981,11 +981,17 @@ void cur_obj_update(void) {
obj_update_gfx_pos_and_angle(gCurrentObject);
}
if (objFlags & OBJ_FLAG_UCODE_LARGE) {
gCurrentObject->header.gfx.node.flags &= ~GRAPH_RENDER_UCODE_REJ;
} else {
gCurrentObject->header.gfx.node.flags |= GRAPH_RENDER_UCODE_REJ;
}
if (objFlags & OBJ_FLAG_UCODE_LARGE)
gCurrentObject->header.gfx.uCode = UCODE_DEFAULT;
else
gCurrentObject->header.gfx.uCode = UCODE_REJ;
if (objFlags & OBJ_FLAG_SILHOUETTE) {
gCurrentObject->header.gfx.node.flags |= GRAPH_RENDER_SILHOUETTE;
} else {
gCurrentObject->header.gfx.node.flags &= ~GRAPH_RENDER_SILHOUETTE;
}
#ifdef PUPPYLIGHTS
puppylights_object_emit(gCurrentObject);