Merge branch 'FSM' into jl777
This commit is contained in:
@@ -1272,21 +1272,12 @@ bool rogue_validate(struct CCcontract_info *cp,int32_t height,Eval *eval,const C
|
|||||||
}
|
}
|
||||||
switch ( funcid )
|
switch ( funcid )
|
||||||
{
|
{
|
||||||
case 'R':
|
case 'G': // newgame
|
||||||
// validate register: within 60 blocks, not duplicate, etc.
|
case 'R': // register
|
||||||
return(true);
|
case 'K': // keystrokes
|
||||||
break;
|
case 'H': // win
|
||||||
case 'H': // fall through
|
case 'Q': // bailout
|
||||||
case 'Q':
|
//fprintf(stderr,"ht.%d rogue.(%c)\n",height,script[1]);
|
||||||
// make sure any playerdata is reproduced via replay
|
|
||||||
if ( funcid == 'Q' )
|
|
||||||
{
|
|
||||||
// validate bailout constraints
|
|
||||||
}
|
|
||||||
else // 'H'
|
|
||||||
{
|
|
||||||
// validate winner constraints
|
|
||||||
}
|
|
||||||
return(true);
|
return(true);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|||||||
Reference in New Issue
Block a user