summaryrefslogtreecommitdiff
path: root/src/d/d_heap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/d/d_heap.cpp')
-rw-r--r--src/d/d_heap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/d_heap.cpp b/src/d/d_heap.cpp
index a29ba328..16ad0f70 100644
--- a/src/d/d_heap.cpp
+++ b/src/d/d_heap.cpp
@@ -18,7 +18,7 @@ extern "C" void fn_802DE710();
// TODO TU splits?
void dHeapAllocator::onAlloc(EGG::HeapAllocArg *arg) {
- if (arg->heap != nullptr) {
+ if (arg->ptr != nullptr) {
return;
}
if (lbl_80571C58 == 0) {