Skip to content

Commit

Permalink
Disable place_building_hotkey and repeat_last_building_hotkey for Vin…
Browse files Browse the repository at this point in the history
…ifera builds
  • Loading branch information
Bittah committed Sep 21, 2024
1 parent b2d5376 commit c66eea3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,6 @@ OBJS += src/online_optimizations.o
#OBJS += src/only_the_host_may_change_gamespeed.o
OBJS += src/override_colors.o
OBJS += src/paradrop.o
OBJS += src/place_building_hotkey.o
OBJS += src/radar_event_hacks.o
OBJS += src/rage_quit.o
OBJS += src/recon_kick.o
Expand All @@ -257,7 +256,6 @@ OBJS += src/record_facing_changes_func.o
OBJS += src/record_tarcom_changes_func.o
OBJS += src/record_override_mission_func.o
OBJS += src/reinforcements_player_specific.o
OBJS += src/repeat_last_building_hotkey.o
OBJS += src/response_time_func.o

# Only include in: MOD_TO MOD_TI
Expand Down Expand Up @@ -381,6 +379,8 @@ OBJS += src/no_sidecd_mix.o
OBJS += src/oil_derricks.o
OBJS += src/random_loop_delay.o
OBJS += src/remove_16bit_windowed_check.o
OBJS += src/place_building_hotkey.o
OBJS += src/repeat_last_building_hotkey.o

# The logger is needed for certain client features
ifneq ($(call ifdef_any_of,MOD_DTA MOD_TI MOD_TO MOD_RUBICON MOD_FD MOD_TM TSCLIENT),)
Expand Down
2 changes: 2 additions & 0 deletions src/hotkey_help.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,10 @@ InfoPanelHotkeysInit()
&TogglePowerCommandClass,
&WaypointCommandClass,
&DeleteWayPointCommandClass,
#ifndef VINIFERA
&vtPlaceBuildingCommand,
&vtRepeatBuildingCommand,
#endif
&CenterBaseCommandClass,
&SetView1CommandClass,
&vtShowHelpCommand
Expand Down
2 changes: 2 additions & 0 deletions src/hotkeys.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ HookInitCommands() {
&GrantControlCommand,
#endif
&ToggleInfoPanelCommand,
#ifndef VINIFERA
&PlaceBuildingCommand,
&RepeatBuildingCommand,
#endif
&ShowHelpCommand,
&SelectOneLessCommand,
#ifdef WWDEBUG
Expand Down

0 comments on commit c66eea3

Please sign in to comment.