- added announcements to titles and error-page

- file inclusion:
    - now only require without brackets
    - classes for ListTypes are auto-loaded
- (minor) empty array to new syntax (php5+)
This commit is contained in:
Sarjuuk
2013-03-04 20:54:03 +01:00
parent a20703f35b
commit 3f69a9ab49
25 changed files with 164 additions and 164 deletions

View File

@@ -655,7 +655,7 @@ class Spell extends BaseType
public function getTooltip()
{
// get reagents
$reagents = array();
$reagents = [];
for ($j = 1; $j <= 8; $j++)
{
if($this->template['reagent'.$j] <= 0)
@@ -670,7 +670,7 @@ class Spell extends BaseType
$reagents = array_reverse($reagents);
// get tools
$tools = array();
$tools = [];
for ($i = 1; $i <= 2; $i++)
{
// Tools