mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +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) {
|
||||
world->update(deltaTime);
|
||||
}
|
||||
// Spawn local NPCs only in single-player (no server to provide them)
|
||||
if (!npcsSpawned && singlePlayerMode) {
|
||||
spawnNpcs();
|
||||
}
|
||||
if (npcManager && renderer && renderer->getCharacterRenderer()) {
|
||||
npcManager->update(deltaTime, renderer->getCharacterRenderer());
|
||||
}
|
||||
// Local test NPC spawning disabled.
|
||||
|
||||
// Sync character render position → canonical WoW coords each frame
|
||||
if (renderer && gameHandler) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue