mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-12-01 15:35:47 +00:00
oops, spam a little less
This commit is contained in:
parent
a97b1bbd5c
commit
b1611d4870
1 changed files with 1 additions and 1 deletions
|
@ -255,6 +255,7 @@ bool exists(const std::string &f, bool makeFatal, bool skipVFS)
|
||||||
|
|
||||||
void exit_error(const std::string &message)
|
void exit_error(const std::string &message)
|
||||||
{
|
{
|
||||||
|
fprintf(stderr, "FATAL: %s\n", message.c_str());
|
||||||
errorLog(message);
|
errorLog(message);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
@ -268,7 +269,6 @@ bool chance(int perc)
|
||||||
|
|
||||||
void errorLog(const std::string &s)
|
void errorLog(const std::string &s)
|
||||||
{
|
{
|
||||||
fputs(s.c_str(), stderr); fputc('\n', stderr);
|
|
||||||
if (core)
|
if (core)
|
||||||
{
|
{
|
||||||
core->errorLog(s);
|
core->errorLog(s);
|
||||||
|
|
Loading…
Reference in a new issue