Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
MLOD_ProjectC
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Erwan MERLY
MLOD_ProjectC
Commits
4ef7662f
Commit
4ef7662f
authored
Nov 02, 2020
by
Erwan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FIX: Clique du milieu uniquement sur les cases révélées (fix la perte de la partie)
parent
2ea5ad0c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
minesweeper.c
minesweeper.c
+3
-2
No files found.
minesweeper.c
View file @
4ef7662f
...
...
@@ -222,9 +222,10 @@ int main(void)
}
if
(
IsMouseButtonPressed
(
MOUSE_MIDDLE_BUTTON
)
&&
onTile
){
lose
=
revelerCase
(
matriceMines
,
curCaseX
,
curCaseY
,
nbLineMatrice
,
nbColumnMatrice
);
if
(
matriceMines
[
curCaseX
][
curCaseY
]
->
isPressed
){
lose
=
revelerVoisins
(
curCaseX
,
curCaseY
,
matriceMines
,
nbLineMatrice
,
nbColumnMatrice
);
}
}
}
else
{
//REGENERE LA GRILLE LORS DE LA VICTOIRE OU DE LA DEFAITE
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment