forked from jaildesigner-jailgames/jaildoctors_dilemma
Pequeño cambio en director.cpp
This commit is contained in:
@@ -7,6 +7,9 @@
|
|||||||
// Constructor
|
// Constructor
|
||||||
Director::Director(std::string path)
|
Director::Director(std::string path)
|
||||||
{
|
{
|
||||||
|
section.name = SECTION_PROG_GAME;
|
||||||
|
section.subsection = 0;
|
||||||
|
|
||||||
// Crea el objeto que controla los ficheros de recursos
|
// Crea el objeto que controla los ficheros de recursos
|
||||||
asset = new Asset(path.substr(0, path.find_last_of("\\/")));
|
asset = new Asset(path.substr(0, path.find_last_of("\\/")));
|
||||||
|
|
||||||
@@ -15,11 +18,6 @@ Director::Director(std::string path)
|
|||||||
{
|
{
|
||||||
section.name = SECTION_PROG_QUIT;
|
section.name = SECTION_PROG_QUIT;
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
section.name = SECTION_PROG_GAME;
|
|
||||||
section.subsection = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Inicializa variables desde el fichero de configuración
|
// Inicializa variables desde el fichero de configuración
|
||||||
loadConfig();
|
loadConfig();
|
||||||
|
|||||||
Reference in New Issue
Block a user