projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f44b99
)
changed function to static
author
Holger Schemel
<info@artsoft.org>
Wed, 22 Mar 2023 18:17:46 +0000
(19:17 +0100)
committer
Holger Schemel
<info@artsoft.org>
Wed, 22 Mar 2023 18:19:42 +0000
(19:19 +0100)
src/game.c
patch
|
blob
|
history
src/game.h
patch
|
blob
|
history
diff --git
a/src/game.c
b/src/game.c
index b7f8736a03a77ec1d932b44956ca14d871242477..6477029738e89dce11254f11f2ca1a398644a6f1 100644
(file)
--- a/
src/game.c
+++ b/
src/game.c
@@
-15632,7
+15632,7
@@
void RequestQuitGame(boolean escape_key_pressed)
"Do you really want to quit the game?");
}
-void RequestRestartGame(char *message)
+
static
void RequestRestartGame(char *message)
{
boolean has_started_game = hasStartedNetworkGame();
int request_mode = (has_started_game ? REQ_ASK : REQ_CONFIRM);
diff --git
a/src/game.h
b/src/game.h
index 6ecbefc48459689311e83e6e52bc29c32c71bad0..b73d5daff98bef27ac661508e480925a62a15057 100644
(file)
--- a/
src/game.h
+++ b/
src/game.h
@@
-452,7
+452,6
@@
void RaiseScoreElement(int);
void RequestQuitGameExt(boolean, boolean, char *);
void RequestQuitGame(boolean);
-void RequestRestartGame(char *);
boolean CheckRestartGame(void);
boolean checkGameSolved(void);