forked from jaildesigner-jailgames/jaildoctors_dilemma
JA VA! Nomes s'havia de fer les coses be i no ser un ansias
This commit is contained in:
@@ -2,11 +2,11 @@
|
||||
#include <fstream> // Para basic_ostream, basic_ifstream, basic_istream, ope...
|
||||
#include <sstream> // Para basic_stringstream
|
||||
#include "utils.h" // Para op_stats_t, options_t
|
||||
#include "options.h"
|
||||
|
||||
// Constructor
|
||||
Stats::Stats(std::string file, std::string buffer, options_t *options)
|
||||
Stats::Stats(std::string file, std::string buffer)
|
||||
{
|
||||
this->options = options;
|
||||
bufferPath = buffer;
|
||||
filePath = file;
|
||||
bufferList.clear();
|
||||
@@ -183,7 +183,7 @@ void Stats::checkWorstNightmare()
|
||||
if (item.died > deaths)
|
||||
{
|
||||
deaths = item.died;
|
||||
options->stats.worstNightmare = item.name;
|
||||
options.stats.worstNightmare = item.name;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user