Skip to content

Commit ddd3a7d

Browse files
author
Goober5000
committed
resolve Travis warning
1 parent e302f0e commit ddd3a7d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

code/asteroid/asteroid.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1012,7 +1012,6 @@ int asteroid_check_collision(object *pasteroid, object *other_obj, vec3d *hitpos
10121012
mc.flags = MC_ONLY_SPHERE | MC_CHECK_SPHERELINE;
10131013

10141014
SCP_vector<int> submodel_vector;
1015-
polymodel *pm;
10161015
polymodel_instance *pmi;
10171016

10181017
if (model_collide(&mc)) {
@@ -1027,7 +1026,6 @@ int asteroid_check_collision(object *pasteroid, object *other_obj, vec3d *hitpos
10271026

10281027
// Get polymodel and turn off all rotating submodels, collide against only 1 at a time.
10291028
pmi = model_get_instance(Ships[heavy_obj->instance].model_instance_num);
1030-
pm = model_get(pmi->model_num);
10311029

10321030
// turn off all rotating submodels and test for collision
10331031
for (size_t j=0; j<submodel_vector.size(); j++) {

0 commit comments

Comments
 (0)