mirror of https://github.com/pmret/papermario.git
fix float constant
This commit is contained in:
parent
25025e4c4d
commit
2bd2a1c97c
|
@ -50,6 +50,4 @@ extern u16 D_800A0940;
|
|||
extern u16 D_800A0942;
|
||||
extern s16 D_800A0944;
|
||||
|
||||
extern f32 D_BF800000;
|
||||
|
||||
#endif
|
||||
|
|
|
@ -228,7 +228,7 @@ INCLUDE_ASM(code_f8f60_len_1560, func_802D4CC4);
|
|||
s32 func_802D4CC4(script_context* script, s32 initialCall) {
|
||||
s32 value = get_variable(script, *script->ptrReadPos);
|
||||
if (value < 0) {
|
||||
func_80137DA4(0xFF, D_BF800000);
|
||||
func_80137DA4(0xFF, -1.0f);
|
||||
} else {
|
||||
func_80137DA4(0xA, value);
|
||||
}
|
||||
|
|
|
@ -139,5 +139,3 @@ func_802B71D4 = 0x802B71D4;
|
|||
func_802B71E8 = 0x802B71E8;
|
||||
func_802BD7DC = 0x802BD7DC;
|
||||
func_802BE070 = 0x802BE070;
|
||||
|
||||
D_BF800000 = 0xBF800000;
|
Loading…
Reference in New Issue