projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added option to swap game elements in EM caves using V5/V6 EMC graphics
[rocksndiamonds.git]
/
src
/
tools.c
diff --git
a/src/tools.c
b/src/tools.c
index d358aed5203ec88473f5668dc6e45c16656c804b..67bb1795a766b963738122a3bf1d9c96fe172b9d 100644
(file)
--- a/
src/tools.c
+++ b/
src/tools.c
@@
-8267,6
+8267,11
@@
int getBeltSwitchElementFromBeltNrAndBeltDir(int belt_nr, int belt_dir)
return getBeltSwitchElementFromBeltNrAndBeltDirNr(belt_nr, belt_dir_nr);
}
return getBeltSwitchElementFromBeltNrAndBeltDirNr(belt_nr, belt_dir_nr);
}
+boolean swapTiles_EM(boolean is_pre_emc_cave)
+{
+ return is_pre_emc_cave && leveldir_current->use_emc_tiles;
+}
+
boolean getTeamMode_EM(void)
{
return game.team_mode || network_playing;
boolean getTeamMode_EM(void)
{
return game.team_mode || network_playing;