mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-19 13:24:12 -04:00
Realmatch dComIfGp_event_runCheck inline
dComIfGp_event_runCheck's return type being different from the inner inline runCheck's return type apparently causes the compiler to double up the g_dComIfG_gameInfo load in certain functions. And also fix dComIfGp_event_chkEventFlag which had the same issue.
This commit is contained in:
@@ -2490,7 +2490,7 @@ inline void dComIfGp_clearMesgAnimeTagInfo() {
|
||||
* === EVENT ===
|
||||
*/
|
||||
|
||||
inline BOOL dComIfGp_event_runCheck() {
|
||||
inline bool dComIfGp_event_runCheck() {
|
||||
return g_dComIfG_gameInfo.play.getEvent().runCheck();
|
||||
}
|
||||
|
||||
@@ -2510,7 +2510,7 @@ inline void dComIfGp_event_offEventFlag(s16 flag) {
|
||||
g_dComIfG_gameInfo.play.getEvent().offEventFlag(flag);
|
||||
}
|
||||
|
||||
inline BOOL dComIfGp_event_chkEventFlag(s16 flag) {
|
||||
inline u16 dComIfGp_event_chkEventFlag(s16 flag) {
|
||||
return g_dComIfG_gameInfo.play.getEvent().chkEventFlag(flag);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user