projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b244efd
)
removed unneeded function call
author
Holger Schemel
<holger.schemel@virtion.de>
Thu, 12 Sep 2024 21:59:50 +0000
(23:59 +0200)
committer
Holger Schemel
<holger.schemel@virtion.de>
Thu, 12 Sep 2024 21:59:50 +0000
(23:59 +0200)
src/game_bd/bd_caveengine.c
patch
|
blob
|
history
diff --git
a/src/game_bd/bd_caveengine.c
b/src/game_bd/bd_caveengine.c
index bdb89a16dd69ef876c1d8b8020f45b66a692f74a..71d122b88bcd1dec8bd46ab40efdffe71dad69f8 100644
(file)
--- a/
src/game_bd/bd_caveengine.c
+++ b/
src/game_bd/bd_caveengine.c
@@
-693,7
+693,7
@@
static inline void store_dir(GdCave *cave, const int x, const int y,
const GdDirection dir, const GdElement element)
{
store_dir_buffer(cave, x, y, dir);
- store(cave, x + gd_dx[dir], y + gd_dy[dir],
scanned_pair(element)
);
+ store(cave, x + gd_dx[dir], y + gd_dy[dir],
element
);
}
// Store an element to (x, y) + dir.