(20120107) 05:00
This commit is contained in:
@@ -71,7 +71,8 @@ int GameMapAux_IsFloor(char c){
|
||||
c=='V' ||
|
||||
c=='<' ||
|
||||
c=='>' ||
|
||||
c=='r' )
|
||||
c=='r' ||
|
||||
c=='l' )
|
||||
{
|
||||
return(1);
|
||||
}
|
||||
@@ -144,6 +145,10 @@ int GameMap_CreateLevel(int level,int point){
|
||||
// Rock
|
||||
GameMapAux_CreateEnt(ent_rock,i,j);
|
||||
}else
|
||||
if(line[i]=='l'){
|
||||
// Lamp
|
||||
GameMapAux_CreateEnt(ent_lamp,i,j);
|
||||
}else
|
||||
if(line[i]=='B'){
|
||||
// Barrel
|
||||
GameMapAux_CreateEnt(ent_barrel,i,j);
|
||||
|
||||
Reference in New Issue
Block a user