Skip to content

Commit 3e6c3f6

Browse files
author
Goober5000
committed
this actually affects subsystems too
1 parent 2ee3dd7 commit 3e6c3f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/parse/sexp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15031,7 +15031,7 @@ int sexp_targeted(int node)
1503115031
}
1503215032

1503315033
if (CDR(CDR(node)) >= 0) {
15034-
ptr = Player_ai->targeted_subsys;
15034+
ptr = Players_targeted_subsys;
1503515035
if (!ptr || subsystem_stricmp(ptr->system_info->subobj_name, CTEXT(CDR(CDR(node))))){
1503615036
return SEXP_FALSE;
1503715037
}

0 commit comments

Comments
 (0)