Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
RogueReborn
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mikhail Andrenkov
RogueReborn
Commits
db9d8cc3
Commit
db9d8cc3
authored
8 years ago
by
Ian Prins
Browse files
Options
Downloads
Patches
Plain Diff
allow caps response to quit prompt
parent
d5a02ad8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/playstate.cpp
+2
-2
2 additions, 2 deletions
src/playstate.cpp
with
2 additions
and
2 deletions
src/playstate.cpp
+
2
−
2
View file @
db9d8cc3
...
...
@@ -37,10 +37,10 @@ class QuitPrompt : public Prompt {
{}
virtual
Transition
handleInput
(
TCOD_key_t
key
)
{
if
(
key
.
c
==
'y'
)
{
if
(
key
.
c
==
'y'
||
key
.
c
==
'Y'
)
{
return
Transition
(
NULL
,
new
RIPScreen
(
player
));
}
if
(
key
.
c
==
'n'
)
{
if
(
key
.
c
==
'n'
||
key
.
c
==
'N'
)
{
return
Transition
(
NULL
,
NULL
);
}
return
Transition
(
this
,
NULL
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment