fix incorrect left photon blast assignment bug

This commit is contained in:
Martin Michelsen
2023-12-30 12:14:05 -08:00
parent e89802f288
commit 0f8dcd3713
+1 -1
View File
@@ -298,8 +298,8 @@ void ItemData::add_mag_photon_blast(uint8_t pb_num) {
}
if (pb_num >= 4) {
throw runtime_error("left photon blast number is too high");
pb_nums |= (pb_num << 6);
}
pb_nums |= (pb_num << 6);
flags |= 4;
}
}