Commit 5fec49d0 authored by Nemo Ma's avatar Nemo Ma Committed by GitHub

Merge pull request #110 from hikawiier/waaagh

fix2
parents 82d3adc1 e4b59eb3
...@@ -5,6 +5,7 @@ if(!defined('IN_GAME')) { ...@@ -5,6 +5,7 @@ if(!defined('IN_GAME')) {
} }
include_once GAME_ROOT.'./include/state.func.php'; include_once GAME_ROOT.'./include/state.func.php';
include_once GAME_ROOT.'./include/game/battle.func.php';
include_once GAME_ROOT.'./include/game/itemmain.func.php'; include_once GAME_ROOT.'./include/game/itemmain.func.php';
include_once GAME_ROOT.'./include/game/revbattle.func.php'; include_once GAME_ROOT.'./include/game/revbattle.func.php';
include_once GAME_ROOT.'./include/game/revbattle.calc.php'; include_once GAME_ROOT.'./include/game/revbattle.calc.php';
...@@ -753,7 +754,6 @@ function discover($schmode = 0,&$data=NULL) ...@@ -753,7 +754,6 @@ function discover($schmode = 0,&$data=NULL)
else else
{ {
$action = 'corpse'; $bid = $edata['pid']; $action = 'corpse'; $bid = $edata['pid'];
include_once GAME_ROOT.'./include/game/battle.func.php';
findcorpse($edata); findcorpse($edata);
return; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment