projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
replaced remaining glib function calls to g_hash_table_*()
[rocksndiamonds.git]
/
src
/
game.c
diff --git
a/src/game.c
b/src/game.c
index 1b16a6f995ad6f7313d1aebb0de762f5cbd299b4..b050950d7ff899a5894b31fcef21b98f9bc42aa9 100644
(file)
--- a/
src/game.c
+++ b/
src/game.c
@@
-2722,7
+2722,7
@@
static void DisplayGameControlValues(void)
if (PANEL_DEACTIVATED(pos))
continue;
if (PANEL_DEACTIVATED(pos))
continue;
- if (pos->class == get_hash_from_
key
("extra_panel_items") &&
+ if (pos->class == get_hash_from_
string
("extra_panel_items") &&
!setup.prefer_extra_panel_items)
continue;
!setup.prefer_extra_panel_items)
continue;
@@
-2814,7
+2814,7
@@
static void DisplayGameControlValues(void)
int width, height;
int dst_x = PANEL_XPOS(pos);
int dst_y = PANEL_YPOS(pos);
int width, height;
int dst_x = PANEL_XPOS(pos);
int dst_y = PANEL_YPOS(pos);
- boolean skip = (pos->class == get_hash_from_
key
("mm_engine_only") &&
+ boolean skip = (pos->class == get_hash_from_
string
("mm_engine_only") &&
level.game_engine_type != GAME_ENGINE_TYPE_MM);
if (graphic != IMG_UNDEFINED && !skip)
level.game_engine_type != GAME_ENGINE_TYPE_MM);
if (graphic != IMG_UNDEFINED && !skip)