mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-19 21:33:07 -04:00
Misc cleanup
This commit is contained in:
@@ -111,7 +111,7 @@ static BOOL daObj_PbcoExecute(void* i_this) {
|
||||
|
||||
bool daObj_Pbco_c::_draw() {
|
||||
dKy_tevstr_c* pTevStr;
|
||||
g_env_light.settingTevStruct(TEV_TYPE_BG0, ¤t.pos, pTevStr = &tevStr);
|
||||
g_env_light.settingTevStruct(TEV_TYPE_BG0, ¤t.pos, pTevStr = &tevStr); // fakematch
|
||||
g_env_light.setLightTevColorType(mpModel, pTevStr);
|
||||
mDoExt_modelUpdateDL(mpModel);
|
||||
return TRUE;
|
||||
|
||||
@@ -77,7 +77,7 @@ static BOOL daObjPbka_Delete(void* i_this) {
|
||||
|
||||
bool daObjPbka_c::_draw() {
|
||||
dKy_tevstr_c * pTevStr;
|
||||
g_env_light.settingTevStruct(TEV_TYPE_BG0, ¤t.pos, pTevStr = &tevStr);
|
||||
g_env_light.settingTevStruct(TEV_TYPE_BG0, ¤t.pos, pTevStr = &tevStr); // fakematch
|
||||
g_env_light.setLightTevColorType(mpModel, pTevStr);
|
||||
dComIfGd_setListBG();
|
||||
mDoExt_modelUpdateDL(mpModel);
|
||||
|
||||
+1
-1
@@ -1180,7 +1180,7 @@ u8 dSv_event_c::getEventReg(u16 i_reg) {
|
||||
|
||||
/* 8005CB94-8005CBB0 .text init__13dSv_reserve_cFv */
|
||||
void dSv_reserve_c::init() {
|
||||
for (int i = 0; i < sizeof(dSv_reserve_c); i++) {
|
||||
for (int i = 0; i < ARRAY_SIZE(mReserve); i++) {
|
||||
mReserve[i] = 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user