git.ucc.asn.au
/
progcomp10.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup
[progcomp10.git]
/
link
/
C
/
Link
/
c-link-lib
/
sample-agents
/
c-angel.c
diff --git
a/link/C/Link/c-link-lib/sample-agents/c-angel.c
b/link/C/Link/c-link-lib/sample-agents/c-angel.c
index
661d1fb
..
1efaa80
100644
(file)
--- a/
link/C/Link/c-link-lib/sample-agents/c-angel.c
+++ b/
link/C/Link/c-link-lib/sample-agents/c-angel.c
@@
-16,7
+16,7
@@
ATTACKTYPE Attack( char * foe_name ) {
ATTACKTYPE attack;
attack.realAttack = RandomAttack(); /* Chooses randomly from Rock, Paper, Scissors */
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;
}
return attack;
}
UCC
git Repository :: git.ucc.asn.au