MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / pre_move

Function pre_move

src/SB/Core/x/xEnt.cpp:1173–1179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1171 }
1172
1173 void pre_move(xEnt& ent)
1174 {
1175 xMat4x3& mat = *(xMat4x3*)ent.model->Mat;
1176 xEnt::anim_coll_data& ac = *ent.anim_coll;
1177
1178 ent.frame->mat = mat = ac.old_mat;
1179 }
1180 } // namespace anim_coll
1181} // namespace
1182

Callers 1

xEntMoveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected