forked from Ports/perfect_dark
Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port-net
This commit is contained in:
commit
cf7c4d4239
1 file changed
+5
-1
+5
-1
@@ -1181,7 +1181,11 @@ void handInflictMeleeDamage(s32 handnum, struct gset *gset, bool arg2)
|
||||
bool isglass = false;
|
||||
|
||||
if (obj && gset->weaponnum != WEAPON_TRANQUILIZER) {
|
||||
isglass = obj->type == OBJTYPE_GLASS || obj->type == OBJTYPE_TINTEDGLASS;
|
||||
isglass =
|
||||
#ifdef AVOID_UB
|
||||
(prop->type == PROPTYPE_OBJ) &&
|
||||
#endif
|
||||
(obj->type == OBJTYPE_GLASS || obj->type == OBJTYPE_TINTEDGLASS);
|
||||
}
|
||||
|
||||
if (arg2) {
|
||||
|
||||
Reference in new issue
Block a user