We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e36e109 commit 4bcded5Copy full SHA for 4bcded5
Client/multiplayer_sa/CMultiplayerSA.cpp
@@ -6443,7 +6443,12 @@ void _declspec(naked) HOOK_CWorld_Remove_CPopulation_ConvertToDummyObject()
6443
TIMING_CHECKPOINT("+RemovePointerToBuilding");
6444
RemovePointerToBuilding();
6445
StorePointerToBuilding();
6446
- RemoveObjectIfNeeded();
+
6447
+ // pLODInterface contains a dummy object's pointer
6448
+ // And as follows from CPopulation::ConvertToDummyObject this pointer can be nullptr
6449
+ if (pLODInterface)
6450
+ RemoveObjectIfNeeded();
6451
6452
TIMING_CHECKPOINT("-RemovePointerToBuilding");
6453
_asm
6454
{
0 commit comments