This commit is contained in:
parent
93f5cce36f
commit
03d945f719
1 changed files with 3 additions and 3 deletions
|
@ -610,19 +610,19 @@ void CConversation::thinkQuestion()
|
||||||
|
|
||||||
if(s_currentQuestion==QUESTION_YES_NO)
|
if(s_currentQuestion==QUESTION_YES_NO)
|
||||||
{
|
{
|
||||||
if(pad&CPadConfig::getButton(CPadConfig::PAD_CFG_JUMP))
|
if(pad&PAD_CROSS)
|
||||||
{
|
{
|
||||||
s_currentAnswer=s_currentSelectedAnswer==0?ANSWER_YES:ANSWER_NO;
|
s_currentAnswer=s_currentSelectedAnswer==0?ANSWER_YES:ANSWER_NO;
|
||||||
s_currentQuestion=QUESTION_NONE;
|
s_currentQuestion=QUESTION_NONE;
|
||||||
}
|
}
|
||||||
else if(pad&(CPadConfig::getButton(CPadConfig::PAD_CFG_LEFT)|CPadConfig::getButton(CPadConfig::PAD_CFG_RIGHT)))
|
else if(pad&(PAD_LEFT|PAD_RIGHT))
|
||||||
{
|
{
|
||||||
s_currentSelectedAnswer^=1;
|
s_currentSelectedAnswer^=1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if(s_currentQuestion==QUESTION_OK)
|
else if(s_currentQuestion==QUESTION_OK)
|
||||||
{
|
{
|
||||||
if(pad&CPadConfig::getButton(CPadConfig::PAD_CFG_JUMP))
|
if(pad&PAD_CROSS)
|
||||||
{
|
{
|
||||||
s_currentAnswer=ANSWER_OK;
|
s_currentAnswer=ANSWER_OK;
|
||||||
s_currentQuestion=QUESTION_NONE;
|
s_currentQuestion=QUESTION_NONE;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue