GameConst 클래스의 항목들을 public static으로 변경.

This commit is contained in:
2018-03-25 01:19:37 +09:00
parent bcea562636
commit 13ee593548
13 changed files with 93 additions and 93 deletions
+2 -2
View File
@@ -1545,7 +1545,7 @@ function msgprint($connect, $msg, $name, $picture, $imgsvr, $when, $num, $type)
function banner() {
return sprintf('<font size=2>%s / %s <br> %s</font>', GameConst::version, GameConst::banner, GameConst::helper);
return sprintf('<font size=2>%s / %s <br> %s</font>', GameConst::$version, GameConst::$banner, GameConst::$helper);
}
function addTurn($date, $turnterm=1) {
@@ -2773,7 +2773,7 @@ function uniqueItem($connect, $general, $log, $vote=0) {
function checkAbility($connect, $general, $log) {
$limit = GameConst::upgradeLimit;
$limit = GameConst::$upgradeLimit;
$query = "select no,leader,leader2,power,power2,intel,intel2 from general where no='{$general['no']}'";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");