summaryrefslogtreecommitdiff
path: root/include/SSystem/SComponent
diff options
context:
space:
mode:
authorMax Roncace <me@caseif.net>2025-11-25 15:32:01 -0500
committerGitHub <noreply@github.com>2025-11-25 22:32:01 +0200
commit9f76ba2f69e32317377477fdd341f4951a012cf0 (patch)
treebaeeb93b7e97f335bd4fc445817b7c00f2ea0e22 /include/SSystem/SComponent
parent360bad39952e0b9ad72cfa75a2763ef9dab69064 (diff)
d_a_npc debug work (#2863)
* Remove d_a_npc3.cpp This file appears to not actually be real and the asserts in its functions all reference d_a_npc2.cpp instead. * d_a_npc debug almost matching
Diffstat (limited to 'include/SSystem/SComponent')
-rw-r--r--include/SSystem/SComponent/c_lib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/SSystem/SComponent/c_lib.h b/include/SSystem/SComponent/c_lib.h
index 1dcd862402..a93ba51aa5 100644
--- a/include/SSystem/SComponent/c_lib.h
+++ b/include/SSystem/SComponent/c_lib.h
@@ -92,7 +92,7 @@ T cLib_getRndValue(T min, T range) {
template <typename T>
T cLib_calcTimer(T* value) {
if (*(T*)value != 0) {
- *value = *value - 1;
+ --*value;
}
return *value;
}