mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-17 17:43:52 +00:00
Disable local test NPC spawning
This commit is contained in:
parent
affcfcfce1
commit
5f519e77e3
1 changed files with 1 additions and 7 deletions
|
|
@ -342,13 +342,7 @@ void Application::update(float deltaTime) {
|
||||||
if (world) {
|
if (world) {
|
||||||
world->update(deltaTime);
|
world->update(deltaTime);
|
||||||
}
|
}
|
||||||
// Spawn local NPCs only in single-player (no server to provide them)
|
// Local test NPC spawning disabled.
|
||||||
if (!npcsSpawned && singlePlayerMode) {
|
|
||||||
spawnNpcs();
|
|
||||||
}
|
|
||||||
if (npcManager && renderer && renderer->getCharacterRenderer()) {
|
|
||||||
npcManager->update(deltaTime, renderer->getCharacterRenderer());
|
|
||||||
}
|
|
||||||
|
|
||||||
// Sync character render position → canonical WoW coords each frame
|
// Sync character render position → canonical WoW coords each frame
|
||||||
if (renderer && gameHandler) {
|
if (renderer && gameHandler) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue