Skip to content

Commit

Permalink
MW fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xan1242 committed Mar 30, 2023
1 parent c777e9d commit 1b2e9d5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/NFS_XtendedInput_FEng.h
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,13 @@ void SetBindingButtonTexture(ActionID id, WORD buttonmask) {

void SetControllerUnplugText() {
if (cFEng_IsPackageInControl_Fast(NFS_HASH("ControllerUnplugged.fng"))) {
#ifdef GAME_MW
FEPrintf(
"ControllerUnplugged.fng", FEngFindObject("ControllerUnplugged.fng", 0x3CF6E6CA),
"The controller has been removed.\nPlease re-insert a controller to controller port 1,\nand press the START button or SPACE on keyboard to continue.");
#else
FE_String_Printf(FEngFindObject("ControllerUnplugged.fng", 0x3CF6E6CA), "The controller has been removed.\nPlease re-insert a controller to controller port 1,\nand press the START button or SPACE on keyboard to continue.");
#endif
}
}

Expand Down

0 comments on commit 1b2e9d5

Please sign in to comment.