summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-03-02 23:46:56 -0300
committershennetsind <ind@henn.et>2013-03-02 23:46:56 -0300
commit54fcc9f412f1dabe43e43642c016b9251b449274 (patch)
treeab3bb841d62d0783085453d1d048821d2d15f9c6 /src/map
parentea001385e0b98e63cfde00158fd5b7739aaa659e (diff)
downloadhercules-54fcc9f412f1dabe43e43642c016b9251b449274.tar.gz
hercules-54fcc9f412f1dabe43e43642c016b9251b449274.tar.bz2
hercules-54fcc9f412f1dabe43e43642c016b9251b449274.tar.xz
hercules-54fcc9f412f1dabe43e43642c016b9251b449274.zip
Fixed Bug #7107
MSVC Warning http://hercules.ws/board/tracker/issue-7107-compiling-warning-c4113/ Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map')
-rw-r--r--src/map/battle.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 572534e14..66b189788 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -6076,8 +6076,7 @@ int battle_get_value(const char* w1)
return *battle_data[i].val;
}
-void battle_set_defaults()
-{
+void battle_set_defaults(void) {
int i;
for (i = 0; i < ARRAYLENGTH(battle_data); i++)
*battle_data[i].val = battle_data[i].defval;