remove a cast from assignment to same type

This commit is contained in:
nhmall
2023-11-11 08:12:17 -05:00
parent ce79cb519c
commit e0e60cb97e

View File

@@ -542,7 +542,7 @@ light_sources_sanity_check(void)
if (!ls->id.a_monst)
panic("insane light source: no id!");
if (ls->type == LS_OBJECT) {
otmp = (struct obj *) ls->id.a_obj;
otmp = ls->id.a_obj;
auint = otmp->o_id;
if (find_oid(auint) != otmp)
panic("insane light source: can't find obj #%u!", auint);