Skip to content

Commit

Permalink
Fix formating in mem_utility.md
Browse files Browse the repository at this point in the history
  • Loading branch information
muczc1wek committed Nov 15, 2023
1 parent 7b9c99a commit 4d5091b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/zengin/scripts/extenders/ikarus/functions/mem_utility.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ MEM_InitAll();
### `MEM_Alloc`
Allocates a specified amount of memory and returns a pointer to the allocated memory area.

!!! Danger
Gothic does not and cannot retain a reference to this memory area or release it, even when destroying the session. Therefore, memory should only be reserved under certain conditions:
!!! Danger
Gothic does not and cannot retain a reference to this memory area or release it, even when destroying the session. Therefore, memory should only be reserved under certain conditions:

- It is guaranteed to exist and can be released again with [`MEM_Free`](#mem_free) after loading a save game.
- Gothic is aware of this memory area and independently releases it.
Expand Down Expand Up @@ -66,8 +66,8 @@ The function returns a pointer to the modified memory area.
### `MEM_Free`
Releases an allocated memory area.

!!! Danger
Great caution is advised, especially when attempting to destroy engine objects, as no destructors are called!
!!! Danger
Great caution is advised, especially when attempting to destroy engine objects, as no destructors are called!

Releasing small things such as list elements can be done easily.
```dae
Expand Down

0 comments on commit 4d5091b

Please sign in to comment.