Replaced some __cdecl calling conventions to __fastcall.

(from Mr.Stalin - Reason: The compiler can use the arguments for its own purposes, which can spoil the stored value on the stack.)
Simplified the code for ObjCanSeeObj_ShootThru_Fix and added extra note to ddraw.ini (#208)
This commit is contained in:
NovaRain
2018-10-25 11:16:39 +08:00
parent 5ab389a51a
commit 558e654dbf
10 changed files with 48 additions and 54 deletions
+1
View File
@@ -519,6 +519,7 @@ InventoryApCost=4
QuickPocketsApCostReduction=2
;Set to 1 to allow objects seeing through other objects with their ShootThru flag set
;Note that enabling this option can cause unexpected behavior in some situations
ObjCanSeeObj_ShootThru_Fix=0
;Set to 1 to fix the broken obj_can_hear_obj script function