diff --git a/CHANGELOG.txt b/CHANGELOG.txt index d021e4507..eb39cfc99 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -4,6 +4,7 @@ D1X-Rebirth Changelog -------- main/vers_id.h: Fixed incorrect patch merge introduced in the last commit main/fireball.c, main/laser.c: Removed Assert in create_smart_children() which has been taken from D2X code but does not apply for D1X and only will let the Assert fail +main/laser.c, main/laser.h, main/object.c, main/object.h, main/powerup.h: Use enum for object types, powerup types, weapon types 20120728 -------- diff --git a/main/laser.c b/main/laser.c index 3b19d8dbb..894819285 100644 --- a/main/laser.c +++ b/main/laser.c @@ -1355,7 +1355,7 @@ void create_smart_children(object *objp) blob_id = PLAYER_SMART_HOMING_ID; Assert(blob_id != -1); // Hmm, missing data in bitmaps.tbl. Need "children=NN" parameter. } else { - blob_id = ROBOT_SMART_HOMING_ID; + blob_id = ((N_weapon_types