Skip to content

Commit

Permalink
credits.cpp: Handle controller buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
glebm authored and AJenbo committed Nov 11, 2019
1 parent d345189 commit ec44cfe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions SourceX/DiabloUI/credits.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,9 @@ BOOL UiCreditsDialog(int a1)
switch (event.type) {
case SDL_KEYDOWN:
case SDL_MOUSEBUTTONDOWN:
#ifndef USE_SDL1
case SDL_CONTROLLERBUTTONDOWN:
#endif
endMenu = true;
break;
case SDL_QUIT:
Expand Down

0 comments on commit ec44cfe

Please sign in to comment.