hud: align macro continuation
This commit is contained in:
1 parent
2853f82627
commit
6f10ccdfad
1 file changed
+2
-2
+2
-2
@@ -286,7 +286,7 @@ void OnDevice(void* device) {
|
||||
int __fastcall name(void* self, void* edx, void* device); \
|
||||
RE_HOOK(address, name); \
|
||||
int __fastcall name(void* self, void* edx, void* device) { \
|
||||
mods::hud::DrawOffset offset(self, mods::hud::OffsetFor(anchor)); \
|
||||
mods::hud::DrawOffset offset(self, mods::hud::OffsetFor(anchor)); \
|
||||
return name##_original(self, edx, device); \
|
||||
}
|
||||
|
||||
@@ -294,7 +294,7 @@ void OnDevice(void* device) {
|
||||
int __fastcall name(void* self, void* edx, void* device, int a, int b); \
|
||||
RE_HOOK(address, name); \
|
||||
int __fastcall name(void* self, void* edx, void* device, int a, int b) { \
|
||||
mods::hud::DrawOffset offset(self, mods::hud::OffsetFor(anchor)); \
|
||||
mods::hud::DrawOffset offset(self, mods::hud::OffsetFor(anchor)); \
|
||||
return name##_original(self, edx, device, a, b); \
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user