Skip to content

Commit 0fb6b2a

Browse files
authored
Update 22.4 version references to 23.0 (#5025)
* update references to 22.4 to 23.0 * fix a few more version references
1 parent 18c182a commit 0fb6b2a

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

code/ai/ai_profiles.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -778,7 +778,7 @@ void ai_profile_t::reset()
778778
flags.set(AI::Profile_Flags::Prevent_negative_turret_ammo);
779779
flags.set(AI::Profile_Flags::Fix_keep_safe_distance);
780780
}
781-
if (mod_supports_version(22, 4, 0)) {
781+
if (mod_supports_version(23, 0, 0)) {
782782
flags.set(AI::Profile_Flags::Fix_good_rearm_time_bug);
783783
flags.set(AI::Profile_Flags::No_continuous_turn_on_attack);
784784
flags.set(AI::Profile_Flags::Fixed_removing_play_dead_order);

code/mod_table/mod_table.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1282,7 +1282,7 @@ void mod_table_set_version_flags()
12821282
Framerate_independent_turning = true; // this is already true, but let's re-emphasize it
12831283
Use_host_orientation_for_set_camera_facing = true; // this is essentially a bugfix
12841284
}
1285-
if (mod_supports_version(22, 4, 0)) {
1285+
if (mod_supports_version(23, 0, 0)) {
12861286
Shockwaves_inherit_parent_damage_type = true; // people intuitively expect shockwaves to default to the damage type of the weapon that spawned them
12871287
}
12881288
}

code/scripting/api/objs/enums.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ ADE_FUNC(__mul,
327327
return ade_set_args(L, "o", l_Enum.Set(*e1 & *e2));
328328
}
329329

330-
ADE_VIRTVAR_DEPRECATED(IntValue, l_Enum, "enumeration", "Internal value of the enum. Probably not useful unless this enum is a bitfield or corresponds to a #define somewhere else in the source code.", "number", "Integer (index) value of the enum", gameversion::version(22, 4), "Deprecated in favor of Value")
330+
ADE_VIRTVAR_DEPRECATED(IntValue, l_Enum, "enumeration", "Internal value of the enum. Probably not useful unless this enum is a bitfield or corresponds to a #define somewhere else in the source code.", "number", "Integer (index) value of the enum", gameversion::version(23), "Deprecated in favor of Value")
331331
{
332332
enum_h* e = nullptr;
333333
if (!ade_get_args(L, "o", l_Enum.GetPtr(&e))) {

fred2/missionsave.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2778,7 +2778,7 @@ int CFred_mission_save::save_mission_info()
27782778
const auto& moveable_triggers = The_mission.skybox_model_animations.getRegisteredMoveables();
27792779

27802780
if (!anim_triggers.empty() || !moveable_triggers.empty()) {
2781-
fso_comment_push(";;FSO 22.4.0;;");
2781+
fso_comment_push(";;FSO 23.0.0;;");
27822782
if (!anim_triggers.empty()) {
27832783
if (optional_string_fred("$Skybox Model Animations:")) {
27842784
parse_comments(1);

qtfred/src/mission/missionsave.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2492,7 +2492,7 @@ int CFred_mission_save::save_mission_info()
24922492
const auto& moveable_triggers = The_mission.skybox_model_animations.getRegisteredMoveables();
24932493

24942494
if (!anim_triggers.empty() || !moveable_triggers.empty()) {
2495-
fso_comment_push(";;FSO 22.4.0;;");
2495+
fso_comment_push(";;FSO 23.0.0;;");
24962496
if (!anim_triggers.empty()) {
24972497
if (optional_string_fred("$Skybox Model Animations:")) {
24982498
parse_comments(1);

0 commit comments

Comments
 (0)