Commit 5cffeafa authored by Nemo Ma's avatar Nemo Ma

Refactor: ITEM enable

Enables the refactoring of item.func
parent 35819b9d
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
<?php
if (! defined ( 'IN_GAME' )) {
exit ( 'Access Denied' );
}
include_once GAME_ROOT.'./include/game/clubslct.func.php';
include_once GAME_ROOT.'./include/game/item.main.php';
// 以下是原始的itemuse函数,现在它被移动到item.main.php中
// 这个文件只是为了保持向后兼容性
function itemuse($itmn, &$data=NULL) {
// 调用新的主函数
include_once GAME_ROOT.'./include/game/item.main.php';
return itemuse($itmn, $data);
}
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