mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-07-29 07:32:16 -04:00
Get closer to a match on aiIfWeaponThrownOnObject
This commit is contained in:
@@ -2896,11 +2896,15 @@ glabel aiIfWeaponThrownOnObject
|
||||
// struct prop *prop = obj->prop->child;
|
||||
//
|
||||
// while (prop) {
|
||||
// if (prop->type == PROPTYPE_WEAPON && prop->weapon->weapon_id == cmd[2]) {
|
||||
// pass = true;
|
||||
// if (prop->type == PROPTYPE_WEAPON) {
|
||||
// struct weaponobj *weapon = prop->weapon;
|
||||
//
|
||||
// if (weapon->weapon_id == cmd[2]) {
|
||||
// pass = true;
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// prop = prop->child;
|
||||
// prop = prop->next;
|
||||
// }
|
||||
// }
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user