mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-18 20:57:46 -04:00
fix functions not returning values (#2942)
* fix functions not returning values * implement functions that should return values
This commit is contained in:
@@ -310,7 +310,7 @@ int daNpc_Raca_c::Draw() {
|
||||
modelData->getMaterialNodePointer(getEyeballMaterialNo())->setMaterialAnm(mpMatAnm[0]);
|
||||
}
|
||||
|
||||
draw(
|
||||
return draw(
|
||||
#if DEBUG
|
||||
chkAction(mAction),
|
||||
#else
|
||||
@@ -796,19 +796,19 @@ int daNpc_Raca_c::talk(void* param_1) {
|
||||
}
|
||||
|
||||
static int daNpc_Raca_Create(void* a_this) {
|
||||
static_cast<daNpc_Raca_c*>(a_this)->create();
|
||||
return static_cast<daNpc_Raca_c*>(a_this)->create();
|
||||
}
|
||||
|
||||
static int daNpc_Raca_Delete(void* a_this) {
|
||||
static_cast<daNpc_Raca_c*>(a_this)->Delete();
|
||||
return static_cast<daNpc_Raca_c*>(a_this)->Delete();
|
||||
}
|
||||
|
||||
static int daNpc_Raca_Execute(void* a_this) {
|
||||
static_cast<daNpc_Raca_c*>(a_this)->Execute();
|
||||
return static_cast<daNpc_Raca_c*>(a_this)->Execute();
|
||||
}
|
||||
|
||||
static int daNpc_Raca_Draw(void* a_this) {
|
||||
static_cast<daNpc_Raca_c*>(a_this)->Draw();
|
||||
return static_cast<daNpc_Raca_c*>(a_this)->Draw();
|
||||
}
|
||||
|
||||
static int daNpc_Raca_IsDelete(void* a_this) {
|
||||
|
||||
Reference in New Issue
Block a user