Update to newest ctrulib (finally)
Also updated other dependencies, now also requires citro3d to build. Also had to modify glowworm lights??? (small textures dont work?)
This commit is contained in:
parent
3699414dcd
commit
31d576e879
4 changed files with 28 additions and 20 deletions
|
@ -988,7 +988,10 @@ void tickTile(int x, int y){
|
|||
|
||||
switch(tile){
|
||||
case TILE_SAPLING_TREE:
|
||||
if(season!=3) setData(++data,x,y); if(data>100){setData(0,x,y); setTile(TILE_TREE,x,y);}
|
||||
if(season!=3) {
|
||||
setData(++data,x,y);
|
||||
if(data>100){setData(0,x,y); setTile(TILE_TREE,x,y);}
|
||||
}
|
||||
break;
|
||||
case TILE_TREE:
|
||||
if(eManager.lastSlot[currentLevel]<800 && (daytime>18000 || daytime<5000) && rand()%800==0) {
|
||||
|
@ -1002,7 +1005,10 @@ void tickTile(int x, int y){
|
|||
}
|
||||
break;
|
||||
case TILE_SAPLING_CACTUS:
|
||||
if(season!=3) setData(++data,x,y); if(data>100){setData(0,x,y); setTile(TILE_CACTUS,x,y);}
|
||||
if(season!=3) {
|
||||
setData(++data,x,y);
|
||||
if(data>100){setData(0,x,y); setTile(TILE_CACTUS,x,y);}
|
||||
}
|
||||
break;
|
||||
case TILE_WHEAT:
|
||||
if(data<100 && season!=3) setData(++data,x,y);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue