Windows support
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
#include "Appearance.h"
|
||||
#include "Movement.h"
|
||||
#include "Net.h"
|
||||
#include "Paths.h"
|
||||
#include "Protocol.h"
|
||||
#include "Rng.h"
|
||||
#include "Zone.h"
|
||||
@@ -621,7 +622,7 @@ int Bot::run() {
|
||||
}
|
||||
rng_.reseed(hash32(token.c_str()));
|
||||
std::string err;
|
||||
if (!manifest_.load(std::string(BS_ASSET_DIR) + "/characters/manifest.json", &err)) {
|
||||
if (!manifest_.load(gameAssetDir() + "/characters/manifest.json", &err)) {
|
||||
std::fprintf(stderr, "manifest: %s\n", err.c_str());
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user