aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/gamedb.c
diff options
context:
space:
mode:
Diffstat (limited to 'FICS/gamedb.c')
-rw-r--r--FICS/gamedb.c33
1 files changed, 17 insertions, 16 deletions
diff --git a/FICS/gamedb.c b/FICS/gamedb.c
index 1a49c48..66bc574 100644
--- a/FICS/gamedb.c
+++ b/FICS/gamedb.c
@@ -141,29 +141,30 @@ PUBLIC int game_free(int g)
return 0;
}
-PUBLIC int game_clear(int g)
+PUBLIC int
+game_clear(int g)
{
- game_free(g);
- game_zero(g);
- return 0;
+ game_free(g);
+ game_zero(g);
+ return 0;
}
-PUBLIC int game_remove(int g)
+PUBLIC int
+game_remove(int g)
{
- /* Should remove game from players observation list */
- game_clear(g);
- garray[g].status = GAME_EMPTY;
- return 0;
+ // Should remove game from players observation list
+ game_clear(g);
+ garray[g].status = GAME_EMPTY;
+ return 0;
}
-/* old moves not stored now - uses smoves */
-PUBLIC int game_finish(int g)
+// old moves not stored now - uses smoves
+PUBLIC int
+game_finish(int g)
{
- player_game_ended(g); /* Alert playerdb that game ended */
-/* NewOldGame(g); */
-/* game_free(g) */
- game_remove(g);
- return 0;
+ player_game_ended(g); // Alert playerdb that game ended
+ game_remove(g);
+ return 0;
}
PUBLIC void