projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b65f3f
)
added sending flag for using step counter to score server
author
Holger Schemel
<info@artsoft.org>
Fri, 29 Oct 2021 13:52:47 +0000
(15:52 +0200)
committer
Holger Schemel
<info@artsoft.org>
Fri, 29 Oct 2021 13:52:47 +0000
(15:52 +0200)
src/files.c
patch
|
blob
|
history
diff --git
a/src/files.c
b/src/files.c
index b0bb49ecdbe2ac9de65ea04b82e44ae29535a932..535b1d520ff0ae0f49e6bbaec4fc66f9fe0b5b90 100644
(file)
--- a/
src/files.c
+++ b/
src/files.c
@@
-9529,6
+9529,7
@@
static boolean SetRequest_ApiAddScore(struct HttpRequest *request,
" \"level_nr\": \"%d\",\n"
" \"level_name\": \"%s\",\n"
" \"level_author\": \"%s\",\n"
+ " \"use_step_counter\": \"%d\",\n"
" \"rate_time_over_score\": \"%d\",\n"
" \"player_name\": \"%s\",\n"
" \"player_uuid\": \"%s\",\n"
@@
-9550,6
+9551,7
@@
static boolean SetRequest_ApiAddScore(struct HttpRequest *request,
level_nr,
level_name,
level_author,
+ level.use_step_counter,
level.rate_time_over_score,
player_name,
player_uuid,