cleanup
[progcomp10.git] / link / C / Link / c-link-lib / sample-agents / c-angel.c
index 661d1fb..1efaa80 100644 (file)
@@ -16,7 +16,7 @@ ATTACKTYPE Attack( char * foe_name ) {
        ATTACKTYPE attack;
        
        attack.realAttack =  RandomAttack();            /* Chooses randomly from Rock, Paper, Scissors */ 
-       attack.promisedAttack = result.realAttack;      /* Tells the truth for its bluff */
+       attack.promisedAttack = attack.realAttack;      /* Tells the truth for its bluff */
 
        return attack;
 }

UCC git Repository :: git.ucc.asn.au