diff options
| author | nathan <nathansmith@disroot.org> | 2025-12-22 08:34:40 +0000 |
|---|---|---|
| committer | nathan <nathansmith@disroot.org> | 2025-12-22 08:34:40 +0000 |
| commit | 08c502d813b11b1f9dd7b7143a0987454c76ea32 (patch) | |
| tree | 8caa319d59ab991a270495f5b9f9c263eb2de74f /src/entities | |
| parent | db04bfb989a5ebbd1f57e9983a2bb819c3ce4d67 (diff) | |
| download | FindThings-08c502d813b11b1f9dd7b7143a0987454c76ea32.tar.gz FindThings-08c502d813b11b1f9dd7b7143a0987454c76ea32.tar.bz2 FindThings-08c502d813b11b1f9dd7b7143a0987454c76ea32.zip | |
Menu item selection
Diffstat (limited to 'src/entities')
| -rw-r--r-- | src/entities/ron.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/entities/ron.c b/src/entities/ron.c index 5c60b9f..d01f25a 100644 --- a/src/entities/ron.c +++ b/src/entities/ron.c @@ -41,6 +41,11 @@ InteractionCommand interactWithRon(Entity* entity, Game* game, case SELECTION_LEAVE: return INTERACTION_END; default: + if (selection >= SELECTION_MENU_ITEM && selection < SELECTION_LEAVE) + { + printf("%d\n", getInteractionMenuIndex(selection)); + } + return INTERACTION_DO_NOTHING; } } |
