Skip to content

Commit

Permalink
fix listteam args format string
Browse files Browse the repository at this point in the history
  • Loading branch information
sauerbraten committed Feb 16, 2021
1 parent a1fff3c commit ee6ca14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion patches/listteams.patch
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Index: src/fpsgame/client.cpp
+ buf.add('\0');
+ result(buf.getbuf());
+ }
+ ICOMMAND(listteams, "bb", (int *local, int *bots, int *specs), listteams(*local!=0, *bots!=0, *specs!=0));
+ ICOMMAND(listteams, "bbb", (int *local, int *bots, int *specs), listteams(*local!=0, *bots!=0, *specs!=0));
+
+ void listclients(bool local, bool bots, bool specs, const char *team)
+ {
Expand Down
2 changes: 1 addition & 1 deletion src/fpsgame/client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ namespace game
buf.add('\0');
result(buf.getbuf());
}
ICOMMAND(listteams, "bb", (int *local, int *bots, int *specs), listteams(*local!=0, *bots!=0, *specs!=0));
ICOMMAND(listteams, "bbb", (int *local, int *bots, int *specs), listteams(*local!=0, *bots!=0, *specs!=0));

void listclients(bool local, bool bots, bool specs, const char *team)
{
Expand Down

0 comments on commit ee6ca14

Please sign in to comment.